From 09730c0898b774c0d7cac6cb8f5d681fdf270562 Mon Sep 17 00:00:00 2001 From: Evgenii P Date: Tue, 15 Dec 2020 22:40:07 +0700 Subject: [PATCH] Take ID into account in SignersContainerKey's PartialEq impl --- src/wallet/signer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/signer.rs b/src/wallet/signer.rs index f7d7790d..6521e2b0 100644 --- a/src/wallet/signer.rs +++ b/src/wallet/signer.rs @@ -531,7 +531,7 @@ impl Ord for SignersContainerKey { impl PartialEq for SignersContainerKey { fn eq(&self, other: &Self) -> bool { - self.ordering == other.ordering + self.id == other.id && self.ordering == other.ordering } }