mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-10 15:58:27 -05:00
fix: remove the leading hash comparison from RecoveredBlock<B>::PartialEq. (#18785)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user