Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Menduist committed Sep 13, 2023
1 parent 4c185f1 commit 670a0bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libp2p/protocols/pubsub/gossipsub.nim
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ method publish*(g: GossipSub,
proc maintainDirectPeer(g: GossipSub, id: PeerId, addrs: seq[MultiAddress]) {.async.} =
if id notin g.peers:
trace "Attempting to dial a direct peer", peer = id
if g.switch.connected(id):
if g.switch.isConnected(id):
info "We are connected to a direct peer, but GossipSub isn't setup with him!", id
return
try:
Expand Down

0 comments on commit 670a0bf

Please sign in to comment.