aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/ethereum.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-13 18:42:01 +0800
committerobscuren <geffobscura@gmail.com>2014-05-13 18:42:01 +0800
commit03371b74d7b169c0ad6ccf8868bc97c7fe85169d (patch)
treed8dd1e167e34c913a3fd6e500dad844837e9cd34 /ethereal/ethereum.go
parent67820506cbb34f5fe66b7b08454019fb30a8ec5a (diff)
downloaddexon-03371b74d7b169c0ad6ccf8868bc97c7fe85169d.tar
dexon-03371b74d7b169c0ad6ccf8868bc97c7fe85169d.tar.gz
dexon-03371b74d7b169c0ad6ccf8868bc97c7fe85169d.tar.bz2
dexon-03371b74d7b169c0ad6ccf8868bc97c7fe85169d.tar.lz
dexon-03371b74d7b169c0ad6ccf8868bc97c7fe85169d.tar.xz
dexon-03371b74d7b169c0ad6ccf8868bc97c7fe85169d.tar.zst
dexon-03371b74d7b169c0ad6ccf8868bc97c7fe85169d.zip
Public ethereum interface uses EthManager
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 {