crypto: Check the shared state of the account when checking for equality.
parent
7a11a57b41
commit
3b1f863419
|
@ -101,7 +101,7 @@ impl Account {
|
|||
|
||||
impl PartialEq for Account {
|
||||
fn eq(&self, other: &Self) -> bool {
|
||||
self.identity_keys() == other.identity_keys()
|
||||
self.identity_keys() == other.identity_keys() && self.shared == other.shared
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue