mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-01-11 05:26:02 +00:00
move trace log
This commit is contained in:
parent
82b4ed8f44
commit
ee281310c0
@ -51,8 +51,8 @@ proc isConnected*(p: PubSubPeer): bool =
|
||||
(not isNil(p.sendConn))
|
||||
|
||||
proc `conn=`*(p: PubSubPeer, conn: Connection) =
|
||||
trace "attaching send connection for peer", peer = p.id
|
||||
if not(isNil(conn)):
|
||||
trace "attaching send connection for peer", peer = p.id
|
||||
p.sendConn = conn
|
||||
p.onConnect.fire()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user