aboutsummaryrefslogtreecommitdiffstats
path: root/node/node.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@cobinhood.com>2018-10-15 12:16:18 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commitb0c906ba404b55147b5e3a085b6a4c3906524a1d (patch)
tree6c80b1af7c27cae9249f62232e8655141264660e /node/node.go
parent4fe062fb2143463d19b3f1df378bb6205c10d3ec (diff)
downloaddexon-b0c906ba404b55147b5e3a085b6a4c3906524a1d.tar.gz
dexon-b0c906ba404b55147b5e3a085b6a4c3906524a1d.tar.zst
dexon-b0c906ba404b55147b5e3a085b6a4c3906524a1d.zip
dex: move dexcon blockdb into datadir
Diffstat (limited to 'node/node.go')
-rw-r--r--node/node.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/node.go b/node/node.go
index ffa9fa1b0..5f2c30e9b 100644
--- a/node/node.go
+++ b/node/node.go
@@ -170,8 +170,8 @@ func (n *Node) Start() error {
for _, constructor := range n.serviceFuncs {
// Create a new context for the particular service
ctx := &ServiceContext{
- config: n.config,
services: make(map[reflect.Type]Service),
+ Config: n.config,
ServerConfig: &n.serverConfig,
EventMux: n.eventmux,
AccountManager: n.accman,