chore: rename sp-core-hashing to sp-crypto-hashing (#1490)

* rename sp-core-hashing to sp-crypto-hashing

* fmt
This commit is contained in:
James Wilson
2024-03-21 15:18:00 +00:00
committed by GitHub
parent caa6b5607c
commit 98c4c0135b
19 changed files with 62 additions and 46 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ enum TypeBeingHashed {
/// Hashing function utilized internally.
fn hash(data: &[u8]) -> Hash {
sp_core_hashing::twox_256(data)
sp_crypto_hashing::twox_256(data)
}
/// XOR two hashes together. Only use this when you don't care about the order