mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-08 19:57:06 +00:00
Repot and fix a ser/de bug.
This commit is contained in:
1 parent
f82e30bac3
commit
5b337e3a9c
20 files changed
+713
-533
No files matched your search
@@ -99,7 +99,7 @@ pub fn twox_256(data: &[u8]) -> [u8; 32] {
|
||||
result
|
||||
}
|
||||
|
||||
/// Conduct two XX hashes to give a 256-bit result.
|
||||
/// Conduct two XX hashes to give a 128-bit result.
|
||||
pub fn twox_128(data: &[u8]) -> [u8; 16] {
|
||||
let mut result: [u8; 16] = Default::default();
|
||||
// guaranteed to write into result.
|
||||
|
||||
Reference in new issue
Block a user