From 53e3825e0774f2a42520e1bb65a735617b243f2c Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Thu, 29 Feb 2024 15:56:47 +0100 Subject: [PATCH] fix typo in `ProtoMessage.toString()` (#1033) --- libp2p/debugutils.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libp2p/debugutils.nim b/libp2p/debugutils.nim index 1bec5292e..bdcab6a69 100644 --- a/libp2p/debugutils.nim +++ b/libp2p/debugutils.nim @@ -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 & " "