Skip to content

Commit

Permalink
biome fix
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak committed Oct 5, 2024
1 parent 5ade94c commit 7d3a583
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions packages/network/src/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ export class TopologyNetworkNode {
list: this._config?.bootstrap_peers
? this._config.bootstrap_peers
: [
"/dns4/relay.droak.sh/tcp/443/wss/p2p/Qma3GsJmB47xYuyahPZPSadh1avvxfyYQwk8R3UnFrQ6aP",
],
"/dns4/relay.droak.sh/tcp/443/wss/p2p/Qma3GsJmB47xYuyahPZPSadh1avvxfyYQwk8R3UnFrQ6aP",
],
}),
],
services: {
Expand Down Expand Up @@ -135,11 +135,10 @@ export class TopologyNetworkNode {
this._node.addEventListener("peer:discovery", (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?.dial(ma);
}
console.log("::start::peer::discovery", e.detail)
}
);
console.log("::start::peer::discovery", e.detail);
});
this._node.addEventListener("peer:identify", (e) =>
console.log("::start::peer::identify", e.detail),
);
Expand Down

0 comments on commit 7d3a583

Please sign in to comment.