diff options
Diffstat (limited to 'dex')
-rw-r--r-- | dex/backend.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dex/backend.go b/dex/backend.go index 3ceef039b..a9af65951 100644 --- a/dex/backend.go +++ b/dex/backend.go @@ -166,7 +166,8 @@ func New(ctx *node.ServiceContext, config *Config) (*Dexon, error) { dex.network = NewDexconNetwork(pm) privKey := coreEcdsa.NewPrivateKeyFromECDSA(config.PrivateKey) - dex.consensus = dexCore.NewConsensus(time.Now().Add(10*time.Second), + 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) return dex, nil } |