Skip to content

Commit

Permalink
fix: enable relay service on rdvp
Browse files Browse the repository at this point in the history
Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com>
  • Loading branch information
gfanton committed Jan 24, 2022
1 parent 84fdc9e commit 9de3071
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions go/cmd/rdvp/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,11 @@ func main() {
libp2p.DefaultTransports,

// Nat & Relay service
libp2p.EnableNATService(),
libp2p.DefaultStaticRelays(),
libp2p.EnableRelay(),

// @NOTE(gfanton): use more specific option
libp2p.EnableRelayService(),
libp2p.EnableNATService(),

// swarm listeners
libp2p.ListenAddrs(listeners...),
Expand Down

0 comments on commit 9de3071

Please sign in to comment.