mirror of
https://github.com/vacp2p/nim-libp2p.git
synced 2025-01-13 10:16:08 +00:00
fix typo in ProtoMessage.toString()
(#1033)
This commit is contained in:
parent
e9b456162a
commit
53e3825e07
@ -247,7 +247,7 @@ proc toString*(msg: ProtoMessage, dump = true): string =
|
||||
else: "[REMOTE]"
|
||||
local & direction & remote
|
||||
let seqid = block:
|
||||
msg.seqID.wihValue(seqid): "seqID = " & $seqid & " "
|
||||
msg.seqID.withValue(seqid): "seqID = " & $seqid & " "
|
||||
else: ""
|
||||
let mtype = block:
|
||||
msg.mtype.withValue(typ): "type = " & $typ & " "
|
||||
|
Loading…
x
Reference in New Issue
Block a user