Skip to content

Commit

Permalink
chore: update interop listen addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Oct 22, 2024
1 parent 6bd9910 commit 3789015
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions interop/test/fixtures/get-libp2p.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,13 @@ export async function getLibp2p (): Promise<Libp2p<{ ping: PingService }>> {
}
break
case 'webrtc':
options.addresses = {
listen: isDialer ? [] : ['/p2p-circuit']
}
options.transports = [
webRTC(),
webSockets({ filter: filters.all }), // ws needed to connect to relay
circuitRelayTransport()
]
options.addresses = {
listen: isDialer ? [] : ['/webrtc']
listen: isDialer ? [] : ['/p2p-circuit', '/webrtc']
}
break
case 'ws':
Expand Down

0 comments on commit 3789015

Please sign in to comment.