Take ID into account in SignersContainerKey's PartialEq impl

This commit is contained in:
Evgenii P committed 2020-12-15 22:40:07 +07:00
1 parent 5315c3ef25
commit 09730c0898
1 file changed
+1 -1
+1 -1
View File
@@ -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
}
}