diff --git a/full-node/src/util.rs b/full-node/src/util.rs index e6bef6365f..427bac6f82 100644 --- a/full-node/src/util.rs +++ b/full-node/src/util.rs @@ -28,9 +28,9 @@ impl SipHasherBuild { } impl core::hash::BuildHasher for SipHasherBuild { - type Hasher = siphasher::sip::SipHasher; + type Hasher = siphasher::sip::SipHasher13; fn build_hasher(&self) -> Self::Hasher { - siphasher::sip::SipHasher::new_with_key(&self.0) + siphasher::sip::SipHasher13::new_with_key(&self.0) } } diff --git a/lib/src/util.rs b/lib/src/util.rs index 6db932dcda..b0c05a1628 100644 --- a/lib/src/util.rs +++ b/lib/src/util.rs @@ -36,10 +36,10 @@ impl SipHasherBuild { } impl core::hash::BuildHasher for SipHasherBuild { - type Hasher = siphasher::sip::SipHasher; + type Hasher = siphasher::sip::SipHasher13; fn build_hasher(&self) -> Self::Hasher { - siphasher::sip::SipHasher::new_with_key(&self.0) + siphasher::sip::SipHasher13::new_with_key(&self.0) } } diff --git a/light-base/src/util.rs b/light-base/src/util.rs index 436796364c..1ff16e97a0 100644 --- a/light-base/src/util.rs +++ b/light-base/src/util.rs @@ -59,9 +59,9 @@ impl SipHasherBuild { } impl core::hash::BuildHasher for SipHasherBuild { - type Hasher = siphasher::sip::SipHasher; + type Hasher = siphasher::sip::SipHasher13; fn build_hasher(&self) -> Self::Hasher { - siphasher::sip::SipHasher::new_with_key(&self.0) + siphasher::sip::SipHasher13::new_with_key(&self.0) } }