Fix a build issue after rebasing
This commit is contained in:
parent
f477eb6877
commit
180e8ed02b
|
@ -721,7 +721,7 @@ proc run*(node: BeaconNode) =
|
||||||
|
|
||||||
let
|
let
|
||||||
t = node.beaconClock.now()
|
t = node.beaconClock.now()
|
||||||
startSlot = if t > BeaconTime(0): t.toSlot + 1
|
startSlot = if t > BeaconTime(0): t.toSlot.slot + 1
|
||||||
else: GENESIS_SLOT + 1
|
else: GENESIS_SLOT + 1
|
||||||
fromNow = saturate(node.beaconClock.fromNow(startSlot))
|
fromNow = saturate(node.beaconClock.fromNow(startSlot))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue