fix typo in ProtoMessage.toString() (#1033)

This commit is contained in:
Etan Kissling 2024-02-29 15:56:47 +01:00 committed by GitHub
parent e9b456162a
commit 53e3825e07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 & " "