aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum/ethereum.go
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-05-13 18:00:48 +0800
committerMaran <maran.hidskes@gmail.com>2014-05-13 18:00:48 +0800
commit9a03df7bd831f1b66bc02510a4abed878f4ffa17 (patch)
tree32776dfbf19e477e063ca7c62ddd8e1a351e70f6 /ethereum/ethereum.go
parentb9876df5dc719f583172017cc71af146c6f732a9 (diff)
downloadgo-tangerine-9a03df7bd831f1b66bc02510a4abed878f4ffa17.tar.gz
go-tangerine-9a03df7bd831f1b66bc02510a4abed878f4ffa17.tar.zst
go-tangerine-9a03df7bd831f1b66bc02510a4abed878f4ffa17.zip
Implemented a flag for a different RPC port; --rpcport
Diffstat (limited to 'ethereum/ethereum.go')
-rw-r--r--ethereum/ethereum.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereum/ethereum.go b/ethereum/ethereum.go
index 8ef061be0..d49b5dc8a 100644
--- a/ethereum/ethereum.go
+++ b/ethereum/ethereum.go
@@ -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.StateManager(), ethereum.BlockChain(), ethereum.TxPool()), RpcPort)
if err != nil {
logger.Infoln("Could not start RPC interface:", err)
} else {