mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-24 03:00:25 +00:00
Fixed rpc client api usage
This commit is contained in:
parent
24d00888bb
commit
19e7d70099
@ -27,7 +27,7 @@ proc request*(methodName: string, params: JsonNode): JsonNode =
|
||||
result = newJNull()
|
||||
else:
|
||||
result = r.result
|
||||
client.transp.close()
|
||||
waitFor client.close()
|
||||
|
||||
proc requestBlockBody(n: JsonNode, blockNumber: BlockNumber): BlockBody =
|
||||
let txs = n["transactions"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user