diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-27 16:36:18 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-27 16:36:18 +0800 |
commit | e29396b6915a27d3e44be45fe9e540c6ef39f1dd (patch) | |
tree | 079f5dc51816ae63ea2e7b5547d5b24e798aaf04 /cmd/utils/flags.go | |
parent | b0b0939879b9fb8453ec1c8fa2ceb522e56df3bc (diff) | |
download | dexon-e29396b6915a27d3e44be45fe9e540c6ef39f1dd.tar dexon-e29396b6915a27d3e44be45fe9e540c6ef39f1dd.tar.gz dexon-e29396b6915a27d3e44be45fe9e540c6ef39f1dd.tar.bz2 dexon-e29396b6915a27d3e44be45fe9e540c6ef39f1dd.tar.lz dexon-e29396b6915a27d3e44be45fe9e540c6ef39f1dd.tar.xz dexon-e29396b6915a27d3e44be45fe9e540c6ef39f1dd.tar.zst dexon-e29396b6915a27d3e44be45fe9e540c6ef39f1dd.zip |
Use ExtraDB for storage. Fixes #577
Diffstat (limited to 'cmd/utils/flags.go')
-rw-r--r-- | cmd/utils/flags.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index f948cdb06..ea11cb158 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -251,11 +251,10 @@ func GetAccountManager(ctx *cli.Context) *accounts.Manager { 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) } - go http.Serve(l, rpc.JSONRPC(xeth.New(eth, nil), dataDir)) + go http.Serve(l, rpc.JSONRPC(xeth.New(eth, nil))) } |