Fix a problem for the bootstrap nodes
connectToNetwork is executed for the bootstrap node as well, but it should not quit when peers are not yet present.
This commit is contained in:
parent
1ce459bcdb
commit
0d37ed7a2a
|
@ -206,7 +206,7 @@ else:
|
|||
except PeerDisconnected:
|
||||
error "Failed to connect to bootstrap node", node = bootstrapNode
|
||||
|
||||
if connected == false:
|
||||
if bootstrapNodes.len > 0 and connected == false:
|
||||
fatal "Failed to connect to any bootstrap node. Quitting."
|
||||
quit 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue