chore: update go-libp2p

From 0.12.0 to 0.14.0.

Headline for lotus: faster yamux.
This commit is contained in:
Steven Allen
2021-05-10 19:41:57 -07:00
parent bf10b051ff
commit f7fbaef361
6 changed files with 138 additions and 85 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ func (a *CommonAPI) NetFindPeer(ctx context.Context, p peer.ID) (peer.AddrInfo,
}
func (a *CommonAPI) NetAutoNatStatus(ctx context.Context) (i api.NatInfo, err error) {
autonat := a.RawHost.(*basichost.BasicHost).AutoNat
autonat := a.RawHost.(*basichost.BasicHost).GetAutoNat()
if autonat == nil {
return api.NatInfo{