move to get_slots_in_epoch (#23657)
This commit is contained in:
parent
102dd68a03
commit
f05ac7a899
|
@ -5911,7 +5911,7 @@ impl Bank {
|
||||||
mut debug_verify: bool,
|
mut debug_verify: bool,
|
||||||
is_startup: bool,
|
is_startup: bool,
|
||||||
) -> Hash {
|
) -> 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
|
let (hash, total_lamports) = self
|
||||||
.rc
|
.rc
|
||||||
.accounts
|
.accounts
|
||||||
|
|
Loading…
Reference in New Issue