diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-10-20 13:04:38 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | 83c8a0d0916f49985af9e99b348955185d7e047c (patch) | |
tree | c3ae323bcfc6cfd53206c32c9360e23207be24d5 /dex | |
parent | aceec95ad8466cf49856bd9f2854a3b66aac2937 (diff) | |
download | dexon-83c8a0d0916f49985af9e99b348955185d7e047c.tar.gz dexon-83c8a0d0916f49985af9e99b348955185d7e047c.tar.zst dexon-83c8a0d0916f49985af9e99b348955185d7e047c.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 } |