Change import from eth-rpc to json_rpc

This commit is contained in:
coffeepots 2018-07-20 08:57:51 +01:00
parent feaff16e9d
commit 6e10e306a6
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
# at your option. # at your option.
# This file may not be copied, modified, or distributed except according to # This file may not be copied, modified, or distributed except according to
# those terms. # those terms.
import eth-rpc/server, nimcrypto import json_rpc/server, nimcrypto
import ../config import ../config
proc setupCommonRPC*(server: RpcServer) = proc setupCommonRPC*(server: RpcServer) =

View File

@ -6,7 +6,7 @@
# at your option. # at your option.
# This file may not be copied, modified, or distributed except according to # This file may not be copied, modified, or distributed except according to
# those terms. # those terms.
import nimcrypto, eth-rpc/server, eth_p2p import nimcrypto, json_rpc/server, eth_p2p
import ../config import ../config
proc setupP2PRPC*(server: EthereumNode, rpcsrv: RpcServer) = proc setupP2PRPC*(server: EthereumNode, rpcsrv: RpcServer) =