diff options
author | BJ4 <bojie@dexon.org> | 2018-11-09 12:08:17 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | f28fece79933816d1eed57b758d211760639cb58 (patch) | |
tree | 307c7be454e9a9be95076cda49bfaab7be308406 /dex | |
parent | dbdc956478df94d63af69c28a17e63ecae1235aa (diff) | |
download | dexon-f28fece79933816d1eed57b758d211760639cb58.tar.gz dexon-f28fece79933816d1eed57b758d211760639cb58.tar.zst dexon-f28fece79933816d1eed57b758d211760639cb58.zip |
app: fix core test
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 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 { |