Public ethereum interface uses EthManager

This commit is contained in:
obscuren
2014-05-13 12:42:01 +02:00
parent 67820506cb
commit 03371b74d7
3 changed files with 3 additions and 3 deletions

View File

@@ -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 {