diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-10-20 13:04:38 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:23:39 +0800 |
commit | 3034bbc6b843ca077a585131d62413a55f43dcda (patch) | |
tree | c8cba09e8bbdb05d27678609981aab99de2beea1 /dex | |
parent | 0d3c3779ef3c03ee3af99eaed7abdc6bac31f7b3 (diff) | |
download | go-tangerine-3034bbc6b843ca077a585131d62413a55f43dcda.tar go-tangerine-3034bbc6b843ca077a585131d62413a55f43dcda.tar.gz go-tangerine-3034bbc6b843ca077a585131d62413a55f43dcda.tar.bz2 go-tangerine-3034bbc6b843ca077a585131d62413a55f43dcda.tar.lz go-tangerine-3034bbc6b843ca077a585131d62413a55f43dcda.tar.xz go-tangerine-3034bbc6b843ca077a585131d62413a55f43dcda.tar.zst go-tangerine-3034bbc6b843ca077a585131d62413a55f43dcda.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 } |