calculate_capitalization gets 'enable_rehashing' (#27767)

This commit is contained in:
Jeff Washington (jwash) 2022-09-14 06:52:18 -07:00 committed by GitHub
parent cd44a0ab7b
commit 416b45ac0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -799,6 +799,7 @@ impl Accounts {
debug_verify: bool,
epoch_schedule: &EpochSchedule,
rent_collector: &RentCollector,
enable_rehashing: bool,
) -> u64 {
let use_index = false;
let is_startup = true;
@ -816,7 +817,7 @@ impl Accounts {
epoch_schedule,
rent_collector,
is_startup,
true,
enable_rehashing,
)
.1
}

View File

@ -7107,6 +7107,7 @@ impl Bank {
debug_verify,
self.epoch_schedule(),
&self.rent_collector,
true,
)
}