* Revert "add genesis stake placeholders (#6969)"
This reverts commit 8a879faac7
.
* fixup! Revert "add genesis stake placeholders (#6969)"
* fixup! fixup! Revert "add genesis stake placeholders (#6969)"
* fixup! fixup! fixup! Revert "add genesis stake placeholders (#6969)"
* fixup! fixup! fixup! fixup! Revert "add genesis stake placeholders (#6969)"
* fmt
This commit is contained in:
committed by
Michael Vines
parent
b8cd0a1bc0
commit
702f7cc51d
@ -45,7 +45,7 @@ impl EpochSchedule {
|
||||
pub fn new(slots_per_epoch: u64) -> Self {
|
||||
Self::custom(slots_per_epoch, slots_per_epoch, true)
|
||||
}
|
||||
pub fn custom(slots_per_epoch: u64, leader_schedule_slot_offset: u64, warmup: bool) -> Self {
|
||||
pub fn custom(slots_per_epoch: Epoch, leader_schedule_slot_offset: u64, warmup: bool) -> Self {
|
||||
assert!(slots_per_epoch >= MINIMUM_SLOTS_PER_EPOCH as u64);
|
||||
let (first_normal_epoch, first_normal_slot) = if warmup {
|
||||
let next_power_of_two = slots_per_epoch.next_power_of_two();
|
||||
|
Reference in New Issue
Block a user