Skip to content

Commit

Permalink
fix PREFERRED_NODES
Browse files Browse the repository at this point in the history
  • Loading branch information
qcdll committed Dec 13, 2018
1 parent ed6200f commit 33dda9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quarkchain/p2p/p2p_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 33dda9f

Please sign in to comment.