From 9b82df95e652a7e7af97e5a3ca344b6358bd5e85 Mon Sep 17 00:00:00 2001 From: Kolby Moroz Liebl <31669092+KolbyML@users.noreply.github.com> Date: Fri, 29 Sep 2023 15:40:43 -0600 Subject: [PATCH] fixup --- src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 32d5f2b..edcfcee 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -835,7 +835,10 @@ impl std::cmp::Eq for Enr {} impl PartialEq for Enr { 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) } }