mirror of https://github.com/status-im/nim-eth.git
Update eth/p2p/rlpx.nim
Co-authored-by: Kim De Mey <kim.demey@gmail.com>
This commit is contained in:
parent
944d7a4069
commit
1d8a9cf01c
|
@ -43,7 +43,7 @@ type
|
|||
DisconnectionReasonList = object
|
||||
value: DisconnectionReason
|
||||
|
||||
proc read(rlp: var Rlp; Q: type DisconnectionReasonList): Q
|
||||
proc read(rlp: var Rlp; T: type DisconnectionReasonList): T
|
||||
{.raises: [Defect, RlpError].} =
|
||||
## Rlp mixin: `DisconnectionReasonList` parser
|
||||
if rlp.isList:
|
||||
|
|
Loading…
Reference in New Issue