crypto: Check the shared state of the account when checking for equality.

master
Damir Jelić 2020-03-18 10:42:11 +01:00
parent 7a11a57b41
commit 3b1f863419
1 changed files with 1 additions and 1 deletions

View File

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