Fix the build with the latest nim-eth
This commit is contained in:
parent
1b0e67c88c
commit
70cb84ef93
|
@ -82,7 +82,7 @@ p2pProtocol BeaconSync(version = 1,
|
|||
bestRoot: Eth2Digest # TODO
|
||||
bestSlot = node.state.data.slot
|
||||
|
||||
let m = await handshake(peer, timeout = 500,
|
||||
let m = await handshake(peer, timeout = 500.milliseconds,
|
||||
status(networkId, latestFinalizedRoot,
|
||||
latestFinalizedEpoch, bestRoot, bestSlot))
|
||||
|
||||
|
|
Loading…
Reference in New Issue