aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/admin.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-11-27 00:35:44 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-11-27 17:06:12 +0800
commit3e1000fda3424d880bc43ebbb16d8a33447d4182 (patch)
treefdc37470cba9af3a00e7eeaa02895b5166ddcd27 /rpc/api/admin.go
parent1e806c4c775bd98b224eb0249007502d348e737b (diff)
downloaddexon-3e1000fda3424d880bc43ebbb16d8a33447d4182.tar
dexon-3e1000fda3424d880bc43ebbb16d8a33447d4182.tar.gz
dexon-3e1000fda3424d880bc43ebbb16d8a33447d4182.tar.bz2
dexon-3e1000fda3424d880bc43ebbb16d8a33447d4182.tar.lz
dexon-3e1000fda3424d880bc43ebbb16d8a33447d4182.tar.xz
dexon-3e1000fda3424d880bc43ebbb16d8a33447d4182.tar.zst
dexon-3e1000fda3424d880bc43ebbb16d8a33447d4182.zip
cmd, eth, node, rpc, xeth: use single-instance services
Diffstat (limited to 'rpc/api/admin.go')
-rw-r--r--rpc/api/admin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api/admin.go b/rpc/api/admin.go
index 4682062e0..1133c9bca 100644
--- a/rpc/api/admin.go
+++ b/rpc/api/admin.go
@@ -97,7 +97,7 @@ func NewAdminApi(xeth *xeth.XEth, stack *node.Node, codec codec.Codec) *adminApi
coder: codec.New(nil),
}
if stack != nil {
- stack.SingletonService(&api.ethereum)
+ stack.Service(&api.ethereum)
}
return api
}