mirror of https://github.com/status-im/nim-eth.git
Fix regression in RLPx
This commit is contained in:
parent
3f721e7ef6
commit
5bd7baaf9c
|
@ -649,7 +649,8 @@ proc genUserHandlerCall*(msg: Message, receivedMsg: NimNode,
|
|||
|
||||
proc genAwaitUserHandler*(msg: Message, receivedMsg: NimNode,
|
||||
leadingParams: varargs[NimNode]): NimNode =
|
||||
return newCall("await", msg.genUserHandlerCall(receivedMsg, leadingParams))
|
||||
result = msg.genUserHandlerCall(receivedMsg, leadingParams)
|
||||
if result.len > 0: result = newCall("await", result)
|
||||
|
||||
proc appendAllParams*(node: NimNode, procDef: NimNode, skipFirst = 0): NimNode =
|
||||
result = node
|
||||
|
|
Loading…
Reference in New Issue