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…
Reference in New Issue