From c378482e23f54249ef58d7f1a8255525ccd89d27 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Tue, 8 Jan 2019 19:00:35 +0000 Subject: [PATCH] enable libp2p by default Signed-off-by: Leo Chen --- p2p/p2pimpl/p2pimpl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/p2pimpl/p2pimpl.go b/p2p/p2pimpl/p2pimpl.go index 620915953..20293959b 100644 --- a/p2p/p2pimpl/p2pimpl.go +++ b/p2p/p2pimpl/p2pimpl.go @@ -10,7 +10,7 @@ import ( // Version The version number of p2p library // 1 - Direct socket connection // 2 - libp2p -const Version = 1 +const Version = 2 // NewHost starts the host func NewHost(peer p2p.Peer) host.Host {