aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/ethereum.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethereal/ethereum.go')
-rw-r--r--ethereal/ethereum.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereal/ethereum.go b/ethereal/ethereum.go
index bacf6d446..d848e9a68 100644
--- a/ethereal/ethereum.go
+++ b/ethereal/ethereum.go
@@ -100,7 +100,7 @@ func main() {
}
if StartRpc {
- ethereum.RpcServer, err = ethrpc.NewJsonRpcServer(ethpub.NewPEthereum(ethereum.StateManager(), ethereum.BlockChain(), ethereum.TxPool()))
+ ethereum.RpcServer = ethrpc.NewJsonRpcServer(ethpub.NewPEthereum(ethereum))
if err != nil {
log.Println("Could not start RPC interface:", err)
} else {