remove_old_historical_roots uses correct epoch schedule (#25020)
* remove_old_historical_roots uses correct epoch schedule * Update runtime/src/accounts_db.rs Co-authored-by: apfitzge <apfitzge@users.noreply.github.com> Co-authored-by: apfitzge <apfitzge@users.noreply.github.com>
This commit is contained in:
parent
f3e4bd373d
commit
7401bc0fa5
|
@ -5654,7 +5654,7 @@ impl AccountsDb {
|
|||
let result = self.calculate_accounts_hash_without_index(config, &storages, timings);
|
||||
|
||||
// now that calculate_accounts_hash_without_index is complete, we can remove old historical roots
|
||||
self.remove_old_historical_roots(slot, &config.rent_collector.epoch_schedule);
|
||||
self.remove_old_historical_roots(slot, config.epoch_schedule);
|
||||
|
||||
result
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue