mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-01-11 05:26:02 +00:00
fix trace logging
This commit is contained in:
parent
fbf640794b
commit
87e1f3c61f
@ -430,7 +430,7 @@ method readMessage*(sconn: NoiseConnection): Future[seq[byte]] {.async.} =
|
||||
unpackNoisePayload(plain)
|
||||
return plain
|
||||
else:
|
||||
trace "Received 0-length message", conn = $conn
|
||||
trace "Received 0-length message", conn = $sconn
|
||||
|
||||
method write*(sconn: NoiseConnection, message: seq[byte]): Future[void] {.async.} =
|
||||
if message.len == 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user