Skip to content

Commit

Permalink
Update gossipNode.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
PixelPil0t1 authored Jan 20, 2025
1 parent 50cd650 commit a1c190c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/hubble/src/network/p2p/gossipNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ export class GossipNode extends TypedEmitter<NodeEvents> {
/** Connects to a peer GossipNode through at least one multiaddr */
async connect(peerNode: GossipNode): Promise<HubResult<void>> {
const multiaddrs = peerNode.multiaddrs();
if (!multiaddrs || multiaddr.length === 0) {
if (!multiaddrs || multiaddrs.length === 0) {
return err(new HubError("unavailable", { message: "no peer id" }));
}

Expand Down

0 comments on commit a1c190c

Please sign in to comment.