Initialise ethprocs automatically on import rpcserver

This commit is contained in:
coffeepots 2018-04-24 14:01:28 +01:00 committed by zah
parent 7e790b2a48
commit f15a48b1c2
2 changed files with 3 additions and 3 deletions

View File

@ -1,2 +1,2 @@
import server / [servertypes, rpcconsts, serverdispatch] import server / [servertypes, rpcconsts, serverdispatch, ethprocs]
export servertypes, rpcconsts, serverdispatch export servertypes, rpcconsts, serverdispatch, ethprocs

View File

@ -1,5 +1,5 @@
import ../eth-rpc / rpcclient, ../eth-rpc / rpcserver, import ../eth-rpc / rpcclient, ../eth-rpc / rpcserver,
asyncdispatch, json, unittest, tables, ../eth-rpc / server / ethprocs asyncdispatch, json, unittest, tables
# TODO: dummy implementations of RPC calls handled in async fashion. # TODO: dummy implementations of RPC calls handled in async fashion.
var srv = sharedRpcServer() var srv = sharedRpcServer()