Merge pull request #8331 from TakashiMatsuda/fix/node-peering

Fix: Use a pointer type on IpfsNode.Peering
This commit is contained in:
Steven Allen 2021-08-13 14:38:25 -07:00 committed by GitHub
commit 6e0f0847bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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