aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-02-05 19:45:36 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-02-05 19:45:36 +0800
commita13bc9d7a1bc96fab93ace40045c0f0fea4da836 (patch)
treec6bd5be2e3e1ce06450a8611b2f1253b2ac18351 /cmd/geth
parentba7c125153ce1be30985784a18edf38645406d03 (diff)
downloaddexon-a13bc9d7a1bc96fab93ace40045c0f0fea4da836.tar
dexon-a13bc9d7a1bc96fab93ace40045c0f0fea4da836.tar.gz
dexon-a13bc9d7a1bc96fab93ace40045c0f0fea4da836.tar.bz2
dexon-a13bc9d7a1bc96fab93ace40045c0f0fea4da836.tar.lz
dexon-a13bc9d7a1bc96fab93ace40045c0f0fea4da836.tar.xz
dexon-a13bc9d7a1bc96fab93ace40045c0f0fea4da836.tar.zst
dexon-a13bc9d7a1bc96fab93ace40045c0f0fea4da836.zip
cmd, common, node, rpc: move HTTP RPC into node, drop singletone aspect
Diffstat (limited to 'cmd/geth')
-rw-r--r--cmd/geth/main.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go
index fa456a7ac..a321181a1 100644
--- a/cmd/geth/main.go
+++ b/cmd/geth/main.go
@@ -503,11 +503,6 @@ func startNode(ctx *cli.Context, stack *node.Node) {
}
}
// Start auxiliary services if enabled
- if ctx.GlobalBool(utils.RPCEnabledFlag.Name) {
- if err := utils.StartRPC(stack, ctx); err != nil {
- utils.Fatalf("Failed to start RPC: %v", err)
- }
- }
if ctx.GlobalBool(utils.WSEnabledFlag.Name) {
if err := utils.StartWS(stack, ctx); err != nil {
utils.Fatalf("Failed to start WS: %v", err)