Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
KolbyML committed Sep 29, 2023
1 parent 0187608 commit 9b82df9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,10 @@ impl<K: EnrKey> std::cmp::Eq for Enr<K> {}

impl<K: EnrKey> PartialEq for Enr<K> {
fn eq(&self, other: &Self) -> bool {
self.seq == other.seq && self.node_id == other.node_id && self.verify_by_signature(&other.signature) == other.verify_by_signature(&self.signature)
self.seq == other.seq
&& self.node_id == other.node_id
&& self.verify_by_signature(&other.signature)
== other.verify_by_signature(&self.signature)
}
}

Expand Down

0 comments on commit 9b82df9

Please sign in to comment.