From 2a6c1fb89a2876775e0906591ff561488f43ee27 Mon Sep 17 00:00:00 2001 From: coffeepots Date: Tue, 12 Jun 2018 16:53:13 +0100 Subject: [PATCH] Remove debug echo --- eth-rpc/client.nim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eth-rpc/client.nim b/eth-rpc/client.nim index 86e4fcc..87a4ef8 100644 --- a/eth-rpc/client.nim +++ b/eth-rpc/client.nim @@ -49,7 +49,6 @@ macro checkGet(node: JsonNode, fieldName: string, of JFloat: result.add(quote do: `n`.getFloat) of JObject: result.add(quote do: `n`.getObject) else: discard - echo "!!!", result.repr proc processMessage(self: RpcClient, line: string) = let node = parseJson(line) @@ -64,7 +63,7 @@ proc processMessage(self: RpcClient, line: string) = if not self.awaiting.hasKey(id): raise newException(ValueError, "Cannot find message id \"" & node["id"].str & "\"") - + let errorNode = node{"error"} if errorNode.isNil or errorNode.kind == JNull: var res = node{"result"}