enable libp2p by default

Signed-off-by: Leo Chen <leo@harmony.one>
pull/229/head
Leo Chen 6 years ago
parent fe7dfbb3d7
commit c378482e23
  1. 2
      p2p/p2pimpl/p2pimpl.go

@ -10,7 +10,7 @@ import (
// Version The version number of p2p library // Version The version number of p2p library
// 1 - Direct socket connection // 1 - Direct socket connection
// 2 - libp2p // 2 - libp2p
const Version = 1 const Version = 2
// NewHost starts the host // NewHost starts the host
func NewHost(peer p2p.Peer) host.Host { func NewHost(peer p2p.Peer) host.Host {

Loading…
Cancel
Save