private AccountSharedData.rent_epoch (#16844)

This commit is contained in:
Jeff Washington (jwash)
2021-04-27 13:51:13 -05:00
committed by GitHub
parent 2f5102587c
commit 1bd623cd15
6 changed files with 24 additions and 21 deletions

View File

@@ -7384,7 +7384,7 @@ pub mod tests {
// Rent epoch may changes to not affect the hash
let mut account_modified = account.clone();
account_modified.rent_epoch += 1;
account_modified.set_rent_epoch(account_modified.rent_epoch() + 1);
assert_eq!(
hash,
AccountsDb::hash_frozen_account_data(&account_modified)