Fixed rpc client api usage

This commit is contained in:
Yuriy Glukhov 2019-06-24 14:46:33 +03:00 committed by zah
parent 24d00888bb
commit 19e7d70099
1 changed files with 1 additions and 1 deletions

View File

@ -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"]