Skip to content

Commit

Permalink
fix: browser->circuit->browser discovery upon 3.0.0 upgrade (topology…
Browse files Browse the repository at this point in the history
…-foundation#284)

Signed-off-by: Sacha Froment <[email protected]>
Co-authored-by: droak <[email protected]>
  • Loading branch information
sfroment and d-roak authored Dec 11, 2024
1 parent 09bf989 commit 99fdc9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/network/src/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ export class DRPNetworkNode {
this._node = await createLibp2p({
privateKey,
addresses: {
listen: this._config?.addresses ? this._config.addresses : ["/webrtc"],
listen: this._config?.addresses
? this._config.addresses
: ["/webrtc", "/p2p-circuit"],
},
connectionEncrypters: [noise()],
connectionGater: {
Expand Down

0 comments on commit 99fdc9e

Please sign in to comment.