mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-15 20:46:40 +00:00
Fix
This commit is contained in:
parent
03371b74d7
commit
32c6126593
2 changed files with 2 additions and 2 deletions
|
|
@ -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() {
|
||||||
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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue