fix: remove the leading hash comparison from RecoveredBlock<B>::PartialEq. (#18785)

This commit is contained in:
GarmashAlex
2025-09-30 14:54:32 +03:00
committed by GitHub
parent db524d158e
commit 2d4635b53d

View File

@@ -458,9 +458,7 @@ impl<B: Block> Eq for RecoveredBlock<B> {}
impl<B: Block> PartialEq for RecoveredBlock<B> {
fn eq(&self, other: &Self) -> bool {
self.hash_ref().eq(other.hash_ref()) &&
self.block.eq(&other.block) &&
self.senders.eq(&other.senders)
self.block.eq(&other.block) && self.senders.eq(&other.senders)
}
}