move to get_slots_in_epoch (#23657)

This commit is contained in:
Jeff Washington (jwash) 2022-03-14 22:47:45 -05:00 committed by GitHub
parent 102dd68a03
commit f05ac7a899
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5911,7 +5911,7 @@ impl Bank {
mut debug_verify: bool,
is_startup: bool,
) -> Hash {
let slots_per_epoch = Some(self.epoch_schedule().slots_per_epoch);
let slots_per_epoch = Some(self.epoch_schedule().get_slots_in_epoch(self.epoch));
let (hash, total_lamports) = self
.rc
.accounts