From 96d07cdea664cfff4961267844af1ae3f340a16b Mon Sep 17 00:00:00 2001 From: Jordan Hrycaj Date: Fri, 25 Mar 2022 09:11:23 +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 ae7346e..39dcb28 100644 --- a/eth/p2p/rlpx.nim +++ b/eth/p2p/rlpx.nim @@ -54,7 +54,7 @@ proc read(rlp: var Rlp; T: type DisconnectionReasonList): T return DisconnectionReasonList(value: a[0]) # Also accepted: a single byte reason code. Is is typically used - # by variants of the reference implentation `Geth` + # by variants of the reference implementation `Geth` if rlp.blobLen <= 1: let n = rlp.read(int) return DisconnectionReasonList(value: n.DisconnectionReason)