Attach all local validators before starting the networking

This commit is contained in:
Zahary Karadjov 2020-06-29 15:02:30 +03:00 committed by zah
parent 6c31b3f01c
commit 302cef5e90
2 changed files with 2 additions and 2 deletions

View File

@ -245,7 +245,7 @@ proc init*(T: type BeaconNode, conf: BeaconNodeConf): Future[BeaconNode] {.async
onBeaconBlock(res, signedBlock)
)
traceAsyncErrors res.addLocalValidators()
await res.addLocalValidators()
# This merely configures the BeaconSync
# The traffic will be started when we join the network.

View File

@ -137,7 +137,7 @@ if [ ! -f "${SNAPSHOT_FILE}" ]; then
--output-bootstrap-file="${NETWORK_BOOTSTRAP_FILE}" \
--bootstrap-address=127.0.0.1 \
--bootstrap-port=$(( BASE_P2P_PORT + BOOTSTRAP_NODE )) \
--genesis-offset=15 # Delay in seconds
--genesis-offset=30 # Delay in seconds
fi
fi