Fix
This commit is contained in:
1 parent
03371b74d7
commit
32c6126593
2 files changed
+2
-2
No files matched your search
@@ -100,7 +100,7 @@ func main() {
|
||||
}
|
||||
|
||||
if StartRpc {
|
||||
ethereum.RpcServer = ethrpc.NewJsonRpcServer(ethpub.NewPEthereum(ethereum))
|
||||
ethereum.RpcServer, err = ethrpc.NewJsonRpcServer(ethpub.NewPEthereum(ethereum))
|
||||
if err != nil {
|
||||
log.Println("Could not start RPC interface:", err)
|
||||
} else {
|
||||
|
||||
@@ -133,7 +133,7 @@ func main() {
|
||||
go console.Start()
|
||||
}
|
||||
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 {
|
||||
logger.Infoln("Could not start RPC interface:", err)
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user