Add flag to set RPC port

This commit is contained in:
Taylor Gerring
2015-02-28 01:00:42 +01:00
parent ad3a21f260
commit f6e821fd33
6 changed files with 69 additions and 65 deletions

View File

@ -73,7 +73,7 @@ func run() error {
utils.KeyTasks(ethereum.KeyManager(), KeyRing, GenAddr, SecretFile, ExportDir, NonInteractive)
if StartRpc {
utils.StartRpc(ethereum, RpcPort)
utils.StartRpc(ethereum, RpcListenAddress, RpcPort)
}
if StartWebSockets {