Skip to content

content routing example with node1.peerStore.patch won't work anymore because of updates to the peerStore class structure in "libp2p": "0.40.0" #1737

@TimDaub

Description

@TimDaub

await node1.peerStore.patch(node2.peerId, {
multiaddrs: node2.getMultiaddrs()
})

I'm pretty sure this won't work because only the store implements these functions now: https://github.com/libp2p/js-libp2p-peer-store/blob/master/src/store.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    need/author-inputNeeds input from the original author

    Type

    No type

    Projects

    Status

    🎉Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions