mirror of
https://github.com/status-im/nim-eth.git
synced 2025-02-17 08:27:05 +00:00
Update eth/p2p/rlpx.nim
Co-authored-by: Kim De Mey <kim.demey@gmail.com>
This commit is contained in:
parent
96d07cdea6
commit
2e41d2892e
@ -59,7 +59,7 @@ proc read(rlp: var Rlp; T: type DisconnectionReasonList): T
|
|||||||
let n = rlp.read(int)
|
let n = rlp.read(int)
|
||||||
return DisconnectionReasonList(value: n.DisconnectionReason)
|
return DisconnectionReasonList(value: n.DisconnectionReason)
|
||||||
|
|
||||||
# Also accepted: a blob of a list (aka object) of reason code. Is is
|
# Also accepted: a blob of a list (aka object) of reason code. It is
|
||||||
# used by `bor`, a `geth` fork
|
# used by `bor`, a `geth` fork
|
||||||
var subList = rlp.toBytes.rlpFromBytes
|
var subList = rlp.toBytes.rlpFromBytes
|
||||||
if subList.isList:
|
if subList.isList:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user