From 019ab6b354f7907b54cb429f3f67a6f516ee536d Mon Sep 17 00:00:00 2001 From: Kay Date: Thu, 14 Sep 2023 20:09:39 +0800 Subject: [PATCH] feat: Adding Hole Punching to network (#697) --- network/network.go | 1 + 1 file changed, 1 insertion(+) diff --git a/network/network.go b/network/network.go index ce1266f2b..001033a6b 100644 --- a/network/network.go +++ b/network/network.go @@ -136,6 +136,7 @@ func newNetwork(networkName string, conf *Config, opts []lp2p.Option) (*network, opts = append(opts, lp2p.EnableRelay(), lp2p.EnableAutoRelayWithStaticRelays(static), + lp2p.EnableHolePunching(), ) } else { opts = append(opts,