diff --git a/daemon.go b/daemon.go index 55c1236..ea2abf8 100644 --- a/daemon.go +++ b/daemon.go @@ -87,7 +87,10 @@ func newDaemon(ctx context.Context, acceleratedDHT bool) (*daemon, error) { } return &daemon{h: h, dht: d, dhtMessenger: pm, createTestHost: func() (host.Host, error) { - return libp2p.New(libp2p.ConnectionGater(&privateAddrFilterConnectionGater{})) + return libp2p.New( + libp2p.ConnectionGater(&privateAddrFilterConnectionGater{}), + libp2p.EnableHolePunching(), + ) }}, nil }