From f28fece79933816d1eed57b758d211760639cb58 Mon Sep 17 00:00:00 2001 From: BJ4 Date: Fri, 9 Nov 2018 12:08:17 +0800 Subject: app: fix core test --- dex/backend.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dex/backend.go') diff --git a/dex/backend.go b/dex/backend.go index 74aea8325..3b727adde 100644 --- a/dex/backend.go +++ b/dex/backend.go @@ -134,7 +134,8 @@ func New(ctx *node.ServiceContext, config *Config) (*Dexon, error) { } cacheConfig = &core.CacheConfig{Disabled: config.NoPruning, TrieCleanLimit: config.TrieCleanCache, TrieDirtyLimit: config.TrieDirtyCache, TrieTimeLimit: config.TrieTimeout} ) - dex.blockchain, err = core.NewBlockChain(chainDb, cacheConfig, dex.chainConfig, dex.engine, vmConfig, nil) + dex.blockchain, err = core.NewBlockChainWithDexonValidator(chainDb, cacheConfig, + dex.chainConfig, dex.engine, vmConfig, nil) // Rewind the chain in case of an incompatible config upgrade. if compat, ok := genesisErr.(*params.ConfigCompatError); ok { -- cgit v1.2.3