From 3034bbc6b843ca077a585131d62413a55f43dcda Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Sat, 20 Oct 2018 13:04:38 +0800 Subject: dex: pass logger object to consensus core --- dex/backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dex') 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 } -- cgit v1.2.3