aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-21 19:25:54 +0800
committerobscuren <geffobscura@gmail.com>2014-10-21 19:25:54 +0800
commit6f08e30109c17e8530cc003dd13bb41e40762c5a (patch)
treeb9e7a956d84fc7d28c04df6db34e2d631d0e5345 /utils
parent6ea44c466a5c3383dd4e21a57423edbf33a52e6f (diff)
downloadgo-tangerine-6f08e30109c17e8530cc003dd13bb41e40762c5a.tar.gz
go-tangerine-6f08e30109c17e8530cc003dd13bb41e40762c5a.tar.zst
go-tangerine-6f08e30109c17e8530cc003dd13bb41e40762c5a.zip
Reflect RPC changes
Diffstat (limited to 'utils')
-rw-r--r--utils/cmd.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/cmd.go b/utils/cmd.go
index 09898665f..32aebc91e 100644
--- a/utils/cmd.go
+++ b/utils/cmd.go
@@ -19,9 +19,9 @@ import (
"github.com/ethereum/eth-go/ethlog"
"github.com/ethereum/eth-go/ethminer"
"github.com/ethereum/eth-go/ethpipe"
- "github.com/ethereum/eth-go/ethrpc"
"github.com/ethereum/eth-go/ethutil"
"github.com/ethereum/eth-go/ethwire"
+ "github.com/ethereum/eth-go/rpc"
)
var logger = ethlog.NewLogger("CLI")
@@ -244,7 +244,7 @@ func KeyTasks(keyManager *ethcrypto.KeyManager, KeyRing string, GenAddr bool, Se
func StartRpc(ethereum *eth.Ethereum, RpcPort int) {
var err error
- ethereum.RpcServer, err = ethrpc.NewJsonRpcServer(ethpipe.NewJSPipe(ethereum), RpcPort)
+ ethereum.RpcServer, err = rpc.NewJsonRpcServer(ethpipe.NewJSPipe(ethereum), RpcPort)
if err != nil {
logger.Errorf("Could not start RPC interface (port %v): %v", RpcPort, err)
} else {