Fixed my mistake in knownnodes, in ef54bca

This commit is contained in:
Dmitri Bogomolov 2019-07-14 18:22:34 +03:00
parent ea5c447ea4
commit 668a73abf6
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -66,7 +66,7 @@ def json_deserialize_knownnodes(source):
knownNodes[node['stream']][peer] = info knownNodes[node['stream']][peer] = info
if ( if (
not (knownNodesActual or info.get('is_self')) and not (knownNodesActual or info.get('self')) and
peer not in DEFAULT_NODES and peer not in DEFAULT_NODES and
peer not in DEFAULT_NODES_ONION peer not in DEFAULT_NODES_ONION
): ):