diff options
author | BJ4 <bojie@dexon.org> | 2018-11-09 12:08:17 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:18 +0800 |
commit | 3911752697b6718fd8014146776378c465a8e88e (patch) | |
tree | addb109dae061bf4fdc8078522b1be2374c57f2b /dex/backend.go | |
parent | bfe8dc4f017f1fa3e6e2b0c370f7880ef847a7d4 (diff) | |
download | go-tangerine-3911752697b6718fd8014146776378c465a8e88e.tar go-tangerine-3911752697b6718fd8014146776378c465a8e88e.tar.gz go-tangerine-3911752697b6718fd8014146776378c465a8e88e.tar.bz2 go-tangerine-3911752697b6718fd8014146776378c465a8e88e.tar.lz go-tangerine-3911752697b6718fd8014146776378c465a8e88e.tar.xz go-tangerine-3911752697b6718fd8014146776378c465a8e88e.tar.zst go-tangerine-3911752697b6718fd8014146776378c465a8e88e.zip |
app: fix core test
Diffstat (limited to 'dex/backend.go')
-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 { |