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 13:49:54 +0800 |
commit | d5cf855dc823b6c84dbc0982dbaa6007a1d582dd (patch) | |
tree | 193b82f19aaadc10d1d64cadf5b25afa489db8c5 /dex | |
parent | f7341230c1497184a98644691c752b2d01957487 (diff) | |
download | dexon-d5cf855dc823b6c84dbc0982dbaa6007a1d582dd.tar dexon-d5cf855dc823b6c84dbc0982dbaa6007a1d582dd.tar.gz dexon-d5cf855dc823b6c84dbc0982dbaa6007a1d582dd.tar.bz2 dexon-d5cf855dc823b6c84dbc0982dbaa6007a1d582dd.tar.lz dexon-d5cf855dc823b6c84dbc0982dbaa6007a1d582dd.tar.xz dexon-d5cf855dc823b6c84dbc0982dbaa6007a1d582dd.tar.zst dexon-d5cf855dc823b6c84dbc0982dbaa6007a1d582dd.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 } |