From f214dd8db3cbe01868e4f62793675cc4629cbc2b Mon Sep 17 00:00:00 2001 From: Jordan Hrycaj Date: Fri, 25 Mar 2022 09:11:47 +0000 Subject: [PATCH] Update eth/p2p/rlpx.nim Co-authored-by: Kim De Mey --- eth/p2p/rlpx.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/p2p/rlpx.nim b/eth/p2p/rlpx.nim index 7fc18f7..fe67874 100644 --- a/eth/p2p/rlpx.nim +++ b/eth/p2p/rlpx.nim @@ -63,7 +63,7 @@ proc read(rlp: var Rlp; T: type DisconnectionReasonList): T # used by `bor`, a `geth` fork var subList = rlp.toBytes.rlpFromBytes if subList.isList: - # Diddo, see above. + # Ditto, see above. let a = subList.read(array[1,DisconnectionReason]) return DisconnectionReasonList(value: a[0]) raise newException(RlpTypeMismatch, "Single entry list expected")