Skip to content

Commit 05346a1

Browse files
committed
fix(.dht.findPeer): should find other peers
1 parent 0c6c190 commit 05346a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/interface-tests/src/dht/find-peer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export function testFindPeer (factory, options) {
5858
const nodeAddresses = nodeBId.addresses.map((addr) => addr.nodeAddress())
5959
const peerAddresses = finalPeer.peer.multiaddrs.map(ma => ma.nodeAddress())
6060

61-
expect(id).to.equal(nodeBId.id)
61+
expect(id.toString()).to.equal(nodeBId.id.toString())
6262
expect(peerAddresses).to.deep.include(nodeAddresses[0])
6363
})
6464

0 commit comments

Comments
 (0)