good morning!!!!

Skip to content
Snippets Groups Projects
Commit 32c61265 authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

Fix

parent 03371b74
No related branches found
No related tags found
No related merge requests found
...@@ -100,7 +100,7 @@ func main() { ...@@ -100,7 +100,7 @@ func main() {
} }
if StartRpc { if StartRpc {
ethereum.RpcServer = ethrpc.NewJsonRpcServer(ethpub.NewPEthereum(ethereum)) ethereum.RpcServer, err = ethrpc.NewJsonRpcServer(ethpub.NewPEthereum(ethereum))
if err != nil { if err != nil {
log.Println("Could not start RPC interface:", err) log.Println("Could not start RPC interface:", err)
} else { } else {
......
...@@ -133,7 +133,7 @@ func main() { ...@@ -133,7 +133,7 @@ func main() {
go console.Start() go console.Start()
} }
if StartRpc { 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 { if err != nil {
logger.Infoln("Could not start RPC interface:", err) logger.Infoln("Could not start RPC interface:", err)
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment