aboutsummaryrefslogtreecommitdiffstats
path: root/node/node.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@cobinhood.com>2018-10-13 13:53:42 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commit8dc2068251b779ea6b93a3e789a9ebdeb8497b5c (patch)
treeccb58975b5a6b8c1d079229c2bd61af43475f69d /node/node.go
parente64c5f223b625464eeea9415a8484eef71874534 (diff)
downloaddexon-8dc2068251b779ea6b93a3e789a9ebdeb8497b5c.tar
dexon-8dc2068251b779ea6b93a3e789a9ebdeb8497b5c.tar.gz
dexon-8dc2068251b779ea6b93a3e789a9ebdeb8497b5c.tar.bz2
dexon-8dc2068251b779ea6b93a3e789a9ebdeb8497b5c.tar.lz
dexon-8dc2068251b779ea6b93a3e789a9ebdeb8497b5c.tar.xz
dexon-8dc2068251b779ea6b93a3e789a9ebdeb8497b5c.tar.zst
dexon-8dc2068251b779ea6b93a3e789a9ebdeb8497b5c.zip
dex: pass p2p nodeKey to Dexon instance
Diffstat (limited to 'node/node.go')
-rw-r--r--node/node.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/node/node.go b/node/node.go
index 43dba3e51..ffa9fa1b0 100644
--- a/node/node.go
+++ b/node/node.go
@@ -172,6 +172,7 @@ func (n *Node) Start() error {
ctx := &ServiceContext{
config: n.config,
services: make(map[reflect.Type]Service),
+ ServerConfig: &n.serverConfig,
EventMux: n.eventmux,
AccountManager: n.accman,
}