From 33dda9fd63aa28ac20c313d6235a058aeee0ffc4 Mon Sep 17 00:00:00 2001 From: qcdll Date: Thu, 13 Dec 2018 15:13:15 -0800 Subject: [PATCH] fix PREFERRED_NODES --- quarkchain/p2p/p2p_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quarkchain/p2p/p2p_manager.py b/quarkchain/p2p/p2p_manager.py index a92c6bce4..b2046ee03 100644 --- a/quarkchain/p2p/p2p_manager.py +++ b/quarkchain/p2p/p2p_manager.py @@ -372,7 +372,7 @@ def __init__(self, env, master_server, loop): else: privkey = ecies.generate_privkey() - if env.cluster_config.P2P.BOOT_NODES: + if env.cluster_config.P2P.PREFERRED_NODES: preferred_nodes = env.cluster_config.P2P.PREFERRED_NODES.split(",") else: preferred_nodes = []