mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 15:47:58 +00:00
Implement codec for U256 (#761)
* Implement codec for U256 * Use little endian and add tests
This commit is contained in:
@@ -45,7 +45,7 @@ pub mod blake2 {
|
||||
impl Hasher for Blake2Hasher {
|
||||
type Out = H256;
|
||||
type StdHasher = PlainHasher;
|
||||
const LENGTH:usize = 32;
|
||||
const LENGTH: usize = 32;
|
||||
fn hash(x: &[u8]) -> Self::Out {
|
||||
blake2_256(x).into()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user