Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 85b1f12

Browse files
test(core): fix address to connect to
1 parent 3c70eaa commit 85b1f12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/core/both/test-bitswap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ describe('bitswap', () => {
6666
// cause browser nodes don't have a websockets addrs
6767
// TODO, what we really need is a way to dial to a peerId only
6868
// and another to dial to peerInfo
69-
target = multiaddr(`/ip4/0.0.0.0/tcp/0/ws/ipfs/${res.ID}`).toString()
69+
target = multiaddr(`/ip4/127.0.0.1/tcp/0/ws/ipfs/${res.ID}`).toString()
7070
}
7171

7272
const swarm = node2.libp2p ? node2.libp2p.swarm : node2.swarm

0 commit comments

Comments
 (0)