Skip to content

Commit

Permalink
Resolving review
Browse files Browse the repository at this point in the history
  • Loading branch information
elielnfinic committed Nov 4, 2024
1 parent 6adaef0 commit dad86e4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/network/src/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,16 +150,13 @@ export class TopologyNetworkNode {
this.peerId,
);

this._node.addEventListener("peer:connect", async (e) => {

});
this._node.addEventListener("peer:connect", async (e) => {});

this._node.addEventListener("peer:discovery", async (e) => {
// current bug in v11.0.0 requires manual dial (https://github.com/libp2p/js-libp2p-pubsub-peer-discovery/issues/149)
for (const ma of e.detail.multiaddrs) {
this._node?.dial(ma);
}

});

this._node.addEventListener("peer:identify", (e) => {
Expand Down

0 comments on commit dad86e4

Please sign in to comment.