default to gossipsub 1.1 (#1992)

This commit is contained in:
Jacek Sieka 2020-11-11 13:30:18 +01:00 committed by GitHub
parent 389c11743a
commit c5710d97fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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