some ReadableAccount changes (#16688)

* some ReadableAccount changes

* deref
This commit is contained in:
Jeff Washington (jwash)
2021-04-21 12:20:37 -05:00
committed by GitHub
parent 189d2121e6
commit 69cbad0869
3 changed files with 21 additions and 21 deletions

View File

@ -117,7 +117,7 @@ fn test_bad_bank_hash() {
assert_eq!(
db.load_account_hash(&ancestors, &key, None, LoadHint::Unspecified)
.unwrap(),
AccountsDb::hash_account(some_slot, &account, &key)
AccountsDb::hash_account(some_slot, *account, &key)
);
}
existing.clear();