mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-17 12:58:31 +00:00
Fix clippy lints
This commit is contained in:
@@ -26,7 +26,7 @@ impl SystemTimeSlotClock {
|
||||
if slot_duration_seconds == 0 {
|
||||
Err(Error::SlotDurationIsZero)
|
||||
} else {
|
||||
Ok(SystemTimeSlotClock {
|
||||
Ok(Self {
|
||||
genesis_seconds,
|
||||
slot_duration_seconds,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user