From c5710d97fcc22a45e056ca74a8a0cd5d8c33057c Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Wed, 11 Nov 2020 13:30:18 +0100 Subject: [PATCH] default to gossipsub 1.1 (#1992) --- beacon_chain/eth2_network.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/beacon_chain/eth2_network.nim b/beacon_chain/eth2_network.nim index a302342b6..3b2e0d24e 100644 --- a/beacon_chain/eth2_network.nim +++ b/beacon_chain/eth2_network.nim @@ -26,10 +26,10 @@ import peer_pool, spec/[datatypes, digest, helpers, network], ./time, keystore_management -when defined(nbc_gossipsub_11): - import libp2p/protocols/pubsub/gossipsub -else: +when defined(nbc_gossipsub_10): import libp2p/protocols/pubsub/gossipsub10 +else: + import libp2p/protocols/pubsub/gossipsub when chronicles.enabledLogLevel == LogLevel.TRACE: import std/sequtils