aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-13 18:45:47 +0800
committerobscuren <geffobscura@gmail.com>2014-05-13 18:45:47 +0800
commit32c6126593100d37c38e423ec62c56938e5f9155 (patch)
treed53f217caa26688be2126dd1897799ec531c754e /ethereum
parent03371b74d7b169c0ad6ccf8868bc97c7fe85169d (diff)
downloaddexon-32c6126593100d37c38e423ec62c56938e5f9155.tar.gz
dexon-32c6126593100d37c38e423ec62c56938e5f9155.tar.zst
dexon-32c6126593100d37c38e423ec62c56938e5f9155.zip
Fix
Diffstat (limited to 'ethereum')
-rw-r--r--ethereum/ethereum.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereum/ethereum.go b/ethereum/ethereum.go
index 8ef061be0..b60eb4181 100644
--- a/ethereum/ethereum.go
+++ b/ethereum/ethereum.go
@@ -133,7 +133,7 @@ func main() {
go console.Start()
}
if StartRpc {
- ethereum.RpcServer, err = ethrpc.NewJsonRpcServer(ethpub.NewPEthereum(ethereum.StateManager(), ethereum.BlockChain(), ethereum.TxPool()))
+ ethereum.RpcServer, err = ethrpc.NewJsonRpcServer(ethpub.NewPEthereum(ethereum))
if err != nil {
logger.Infoln("Could not start RPC interface:", err)
} else {