move trace log

This commit is contained in:
Dmitriy Ryajov 2020-06-08 10:40:08 -06:00
parent 82b4ed8f44
commit ee281310c0
No known key found for this signature in database
GPG Key ID: DA8C680CE7C657A4
1 changed files with 1 additions and 1 deletions

View File

@ -51,8 +51,8 @@ proc isConnected*(p: PubSubPeer): bool =
(not isNil(p.sendConn)) (not isNil(p.sendConn))
proc `conn=`*(p: PubSubPeer, conn: Connection) = proc `conn=`*(p: PubSubPeer, conn: Connection) =
trace "attaching send connection for peer", peer = p.id
if not(isNil(conn)): if not(isNil(conn)):
trace "attaching send connection for peer", peer = p.id
p.sendConn = conn p.sendConn = conn
p.onConnect.fire() p.onConnect.fire()