Take ID into account in SignersContainerKey's PartialEq impl

This commit is contained in:
Evgenii P 2020-12-15 22:40:07 +07:00
parent 5315c3ef25
commit 09730c0898
No known key found for this signature in database
GPG Key ID: 46717E4E65912EF7

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
}
}