diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-10-13 13:53:42 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:23:39 +0800 |
commit | e205d3e8dbc0e6e8878dd184afcfee931260a11f (patch) | |
tree | 45b4ac223f7babbcdc5a45aa3ecbf3c93091a65f /node/service.go | |
parent | 912acafdcb9cba8c8036e8ae96b6b48c2c885238 (diff) | |
download | go-tangerine-e205d3e8dbc0e6e8878dd184afcfee931260a11f.tar.gz go-tangerine-e205d3e8dbc0e6e8878dd184afcfee931260a11f.tar.zst go-tangerine-e205d3e8dbc0e6e8878dd184afcfee931260a11f.zip |
dex: pass p2p nodeKey to Dexon instance
Diffstat (limited to 'node/service.go')
-rw-r--r-- | node/service.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/node/service.go b/node/service.go index 806d73b63..7f9683362 100644 --- a/node/service.go +++ b/node/service.go @@ -32,8 +32,9 @@ import ( type ServiceContext struct { config *Config services map[reflect.Type]Service // Index of the already constructed services - EventMux *event.TypeMux // Event multiplexer used for decoupled notifications - AccountManager *accounts.Manager // Account manager created by the node. + ServerConfig *p2p.Config + EventMux *event.TypeMux // Event multiplexer used for decoupled notifications + AccountManager *accounts.Manager // Account manager created by the node. } // OpenDatabase opens an existing database with the given name (or creates one |