Revert "chore: update go-libp2p"

This reverts commit f7fbaef361.
This commit is contained in:
Dirk McCormick
2021-05-20 11:22:19 -06:00
parent 6f55031faa
commit 885564fe24
6 changed files with 85 additions and 138 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).GetAutoNat()
autonat := a.RawHost.(*basichost.BasicHost).AutoNat
if autonat == nil {
return api.NatInfo{