mirror of
https://github.com/libp2p/go-libp2p.git
synced 2026-04-23 00:27:05 +08:00
chore: update go-libp2p-autonat to v0.5.0
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user