Hotfix: Don't report failure to connect to bootstrap node due to the initial sync taking more than 30 seconds

This commit is contained in:
Zahary Karadjov 2020-03-23 22:29:50 +02:00
parent d63e4870e6
commit f2434139e9
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
1 changed files with 3 additions and 1 deletions

View File

@ -947,7 +947,9 @@ proc connectToNetwork*(node: Eth2Node,
fatal "Failed to connect to any bootstrap node. Quitting", bootstrapEnrs
quit 1
traceAsyncErrors checkIfConnectedToBootstrapNode()
# TODO: The initial sync forces this to time out.
# Revisit when the new Sync manager is integrated.
# traceAsyncErrors checkIfConnectedToBootstrapNode()
func peersCount*(node: Eth2Node): int =
len(node.peerPool)