diff --git a/eth-rpc/client/clientdispatch.nim b/eth-rpc/client/clientdispatch.nim index a9d3a2b..0996360 100644 --- a/eth-rpc/client/clientdispatch.nim +++ b/eth-rpc/client/clientdispatch.nim @@ -1,5 +1,5 @@ -import asyncnet, asyncdispatch, tables, json, oids, macros -import ../jsonconverters +import asyncnet, asyncdispatch, tables, json, macros +import ".." / [jsonconverters, jsonmarshal] type RpcClient* = ref object @@ -90,8 +90,6 @@ proc connect*(self: RpcClient, address: string, port: Port) {.async.} = self.port = port asyncCheck processData(self) -import ../ jsonmarshal - proc createRpcProc(procName, parameters, callBody: NimNode): NimNode = # parameters come as a tree var paramList = newSeq[NimNode]()