crypto: Check the shared state of the account when checking for equality.
This commit is contained in:
parent
7a11a57b41
commit
3b1f863419
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue