@cryptotaxi247 / kubo / commits / 44f5b8b27

use a pointer type on node.Peering for mutex

Takashi Matsuda committed Aug 7, 2021 at 15:49 UTC 44f5b8b274d984626a9b947bba35741e04c87ba2
1 file changed +1 -1
core/core.go
+1 -1
@@ -85,7 +85,7 @@ type IpfsNode struct {
85
86 // Online
87 PeerHost p2phost.Host `optional:"true"` // the network host (server+client)
88 - Peering peering.PeeringService `optional:"true"`
88 + Peering *peering.PeeringService `optional:"true"`
89 Filters *ma.Filters `optional:"true"`
90 Bootstrapper io.Closer `optional:"true"` // the periodic bootstrapper
91 Routing routing.Routing `optional:"true"` // the routing system. recommend ipfs-dht