Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Commit

Permalink
fix: return type of getMultiaddrs
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Mar 31, 2017
1 parent e1df873 commit 36e77b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/peer-book.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,6 @@ describe('peer-book', () => {
peer.multiaddrs.add(new Multiaddr('/ip4/127.0.0.1/tcp/1234'))

pb.put(peer)
expect(pb.getMultiaddrs(p3.id)).to.be.eql(peer.multiaddrs)
expect(pb.getMultiaddrs(p3.id)).to.be.eql(peer.multiaddrs.toArray())
})
})

0 comments on commit 36e77b5

Please sign in to comment.