From 50924d1c12eef961f7ed86222b179317db31ae89 Mon Sep 17 00:00:00 2001 From: coffeepots Date: Wed, 9 May 2018 14:57:45 +0100 Subject: [PATCH] Change inline proc to template --- eth-rpc/client/clientdispatch.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth-rpc/client/clientdispatch.nim b/eth-rpc/client/clientdispatch.nim index 34c1c69..ef34c42 100644 --- a/eth-rpc/client/clientdispatch.nim +++ b/eth-rpc/client/clientdispatch.nim @@ -91,7 +91,7 @@ macro generateCalls: untyped = for callName in ETHEREUM_RPC_CALLS: let nameLit = ident(callName) result.add(quote do: - proc `nameLit`*(client: RpcClient, params: JsonNode): Future[Response] {.inline.} = client.call(`callName`, params) # TODO: Back to template + template `nameLit`*(client: RpcClient, params: JsonNode): Future[Response] = client.call(`callName`, params) # TODO: Back to template ) # generate all client ethereum rpc calls