readKnownNodes() is a part of network starting process

This commit is contained in:
Dmitri Bogomolov 2020-11-14 17:00:00 +02:00
parent 5771f21cfb
commit 92647f06c0
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -176,8 +176,6 @@ class Main(object):
defaults.networkDefaultPayloadLengthExtraBytes = int(
defaults.networkDefaultPayloadLengthExtraBytes / 100)
readKnownNodes()
# Not needed if objproc is disabled
if state.enableObjProc:
@ -250,6 +248,7 @@ class Main(object):
# start network components if networking is enabled
if state.enableNetwork:
readKnownNodes()
start_proxyconfig()
BMConnectionPool().connectToStream(1)
asyncoreThread = BMNetworkThread()