Skip to content

Commit

Permalink
chore: remove connection gater for test host
Browse files Browse the repository at this point in the history
to help debug create the host the same way as vole
  • Loading branch information
2color committed Aug 6, 2024
1 parent 384366d commit 7c33ae4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ 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{}),
libp2p.DefaultMuxers,
libp2p.Muxer("/mplex/6.7.0", mplex.DefaultTransport),
libp2p.EnableHolePunching(),
Expand Down

0 comments on commit 7c33ae4

Please sign in to comment.