default to gossipsub 1.1 (#1992)
This commit is contained in:
parent
389c11743a
commit
c5710d97fc
|
@ -26,10 +26,10 @@ import
|
||||||
peer_pool, spec/[datatypes, digest, helpers, network], ./time,
|
peer_pool, spec/[datatypes, digest, helpers, network], ./time,
|
||||||
keystore_management
|
keystore_management
|
||||||
|
|
||||||
when defined(nbc_gossipsub_11):
|
when defined(nbc_gossipsub_10):
|
||||||
import libp2p/protocols/pubsub/gossipsub
|
|
||||||
else:
|
|
||||||
import libp2p/protocols/pubsub/gossipsub10
|
import libp2p/protocols/pubsub/gossipsub10
|
||||||
|
else:
|
||||||
|
import libp2p/protocols/pubsub/gossipsub
|
||||||
|
|
||||||
when chronicles.enabledLogLevel == LogLevel.TRACE:
|
when chronicles.enabledLogLevel == LogLevel.TRACE:
|
||||||
import std/sequtils
|
import std/sequtils
|
||||||
|
|
Loading…
Reference in New Issue