Skip to content

Commit

Permalink
feat: Adding Hole Punching to network (#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
kehiy authored Sep 14, 2023
1 parent 1151c64 commit 019ab6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions network/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 019ab6b

Please sign in to comment.