diff --git a/core/core.go b/core/core.go index 49f1185646b..250af72988a 100644 --- a/core/core.go +++ b/core/core.go @@ -85,7 +85,7 @@ type IpfsNode struct { // Online PeerHost p2phost.Host `optional:"true"` // the network host (server+client) - Peering peering.PeeringService `optional:"true"` + Peering *peering.PeeringService `optional:"true"` Filters *ma.Filters `optional:"true"` Bootstrapper io.Closer `optional:"true"` // the periodic bootstrapper Routing routing.Routing `optional:"true"` // the routing system. recommend ipfs-dht