Fix a build issue after rebasing

This commit is contained in:
Zahary Karadjov 2019-08-20 16:42:15 +03:00
parent f477eb6877
commit 180e8ed02b
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
1 changed files with 1 additions and 1 deletions

View File

@ -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))