Fix the build with the latest nim-eth

This commit is contained in:
Zahary Karadjov 2019-03-25 19:57:05 +02:00
parent 1b0e67c88c
commit 70cb84ef93
1 changed files with 1 additions and 1 deletions

View File

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