aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-03-20 08:59:38 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-03-23 23:32:20 +0800
commit33c5186fd06d890e590b18cc6f8479070c2e51e8 (patch)
tree7c83451d6200f4d1e1e2fbea67bdff35f03ab9ea /cmd/utils
parent3f6e1b2fd3cbc6aeb1bbe658dd5b70945a57dffa (diff)
downloaddexon-33c5186fd06d890e590b18cc6f8479070c2e51e8.tar.gz
dexon-33c5186fd06d890e590b18cc6f8479070c2e51e8.tar.zst
dexon-33c5186fd06d890e590b18cc6f8479070c2e51e8.zip
In blocktest cmd, disable network and add RPC flag
Diffstat (limited to 'cmd/utils')
-rw-r--r--cmd/utils/flags.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index f87d25ce9..9a4ab5804 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -256,7 +256,7 @@ func StartRPC(eth *eth.Ethereum, ctx *cli.Context) {
addr := ctx.GlobalString(RPCListenAddrFlag.Name)
port := ctx.GlobalInt(RPCPortFlag.Name)
dataDir := ctx.GlobalString(DataDirFlag.Name)
-
+ fmt.Println("Starting RPC on port: ", port)
l, err := net.Listen("tcp", fmt.Sprintf("%s:%d", addr, port))
if err != nil {
Fatalf("Can't listen on %s:%d: %v", addr, port, err)