chore: remove peer-info usage on topology (#42)

* chore: remove peer-info usage on topology

BREAKING CHANGE: topology api now uses peer-id instead of peer-info
This commit is contained in:
Vasco Santos
2020-04-17 17:23:31 +02:00
committed by Jacob Heun
parent 87e2e89791
commit a55c7c454a
7 changed files with 74 additions and 56 deletions

View File

@ -21,7 +21,8 @@ describe('multicodec topology compliance tests', () => {
})
if (!registrar) {
const peerStore = new MockPeerStore([])
const peers = new Map()
const peerStore = new MockPeerStore(peers)
registrar = {
peerStore,