diff options
author | BJ4 <bojie@dexon.org> | 2018-11-09 12:08:17 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 13:49:56 +0800 |
commit | d9382bd0ee655e10ff3108983e5a98d30e058868 (patch) | |
tree | 6f47d9ceb8d40fa748e4b65adf14a169ad692aaf /dex | |
parent | a9320c957b0224b6faaedbe3ccb7720f21bb0f40 (diff) | |
download | dexon-d9382bd0ee655e10ff3108983e5a98d30e058868.tar dexon-d9382bd0ee655e10ff3108983e5a98d30e058868.tar.gz dexon-d9382bd0ee655e10ff3108983e5a98d30e058868.tar.bz2 dexon-d9382bd0ee655e10ff3108983e5a98d30e058868.tar.lz dexon-d9382bd0ee655e10ff3108983e5a98d30e058868.tar.xz dexon-d9382bd0ee655e10ff3108983e5a98d30e058868.tar.zst dexon-d9382bd0ee655e10ff3108983e5a98d30e058868.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 { |