chore: update go-libp2p-autonat to v0.5.0

This commit is contained in:
Marten Seemann
2021-08-30 10:50:52 +01:00
parent fd4d2a47e2
commit 2d07a0d973
8 changed files with 14 additions and 11 deletions
+1 -1
View File
@@ -209,7 +209,7 @@ func TestHostAddrsFactory(t *testing.T) {
t.Fatalf("expected %s, got %s", maddr.String(), addrs[0].String())
}
autoNat, err := autonat.New(ctx, h, autonat.WithReachability(network.ReachabilityPublic))
autoNat, err := autonat.New(h, autonat.WithReachability(network.ReachabilityPublic))
if err != nil {
t.Fatalf("should be able to attach autonat: %v", err)
}