aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/admin.go
diff options
context:
space:
mode:
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
}