diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-10-20 13:04:38 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:50 +0800 |
commit | fa99a32b847f0e3ad1d1a00dfac79fc316a65189 (patch) | |
tree | 0ff5d7f7b5b3f8f724a492be8085ce9f5f974af8 /dex | |
parent | fcfa850fca2d7fb22e063eb5b859aa0d656dd9bd (diff) | |
download | dexon-fa99a32b847f0e3ad1d1a00dfac79fc316a65189.tar.gz dexon-fa99a32b847f0e3ad1d1a00dfac79fc316a65189.tar.zst dexon-fa99a32b847f0e3ad1d1a00dfac79fc316a65189.zip |
dex: pass logger object to consensus core
Diffstat (limited to 'dex')
-rw-r--r-- | dex/backend.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dex/backend.go b/dex/backend.go index 2f6d8a8e5..7a7ad7f47 100644 --- a/dex/backend.go +++ b/dex/backend.go @@ -176,7 +176,7 @@ func New(ctx *node.ServiceContext, config *Config) (*Dexon, error) { privKey := coreEcdsa.NewPrivateKeyFromECDSA(config.PrivateKey) dMoment := time.Date(2018, 10, 15, 6, 0, 0, 0, time.UTC) dex.consensus = dexCore.NewConsensus(dMoment, - dex.app, dex.governance, db, dex.network, privKey) + dex.app, dex.governance, db, dex.network, privKey, log.Root()) return dex, nil } |