diff options
Diffstat (limited to 'ethereal/ethereum.go')
-rw-r--r-- | ethereal/ethereum.go | 2 |
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 { |