mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-23 14:54:45 +00:00
Address Michael's comments
This commit is contained in:
@@ -39,7 +39,7 @@ impl SlotClock for TestingSlotClock {
|
||||
|
||||
/// Always returns a duration of `1 * slots_per_epoch` second.
|
||||
fn duration_to_next_epoch(&self, slots_per_epoch: u64) -> Option<Duration> {
|
||||
Some(Duration::from_secs(1 + slots_per_epoch))
|
||||
Some(Duration::from_secs(slots_per_epoch))
|
||||
}
|
||||
|
||||
/// Always returns a slot duration of 0 seconds.
|
||||
|
||||
Reference in New Issue
Block a user