diff options
author | Wei-Ning Huang <aitjcize@gmail.com> | 2018-11-09 14:16:18 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:53 +0800 |
commit | b4280bb70f9935f99032fd46036b571f4758e284 (patch) | |
tree | a64b00f24b874cd3170fb9eb6e30da013e13f1fc /core | |
parent | c4e7e5e338e57995a9d709129d8d5c22863432c0 (diff) | |
download | dexon-b4280bb70f9935f99032fd46036b571f4758e284.tar dexon-b4280bb70f9935f99032fd46036b571f4758e284.tar.gz dexon-b4280bb70f9935f99032fd46036b571f4758e284.tar.bz2 dexon-b4280bb70f9935f99032fd46036b571f4758e284.tar.lz dexon-b4280bb70f9935f99032fd46036b571f4758e284.tar.xz dexon-b4280bb70f9935f99032fd46036b571f4758e284.tar.zst dexon-b4280bb70f9935f99032fd46036b571f4758e284.zip |
core: blockchain: fix NewBlockChainWithDexonValidator (#4)
Diffstat (limited to 'core')
-rw-r--r-- | core/blockchain.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/blockchain.go b/core/blockchain.go index 79e0b2a02..dce1c276a 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -279,7 +279,7 @@ func NewBlockChainWithDexonValidator(db ethdb.Database, cacheConfig *CacheConfig addressCounter: make(map[uint32]map[common.Address]uint64), chainLastHeight: make(map[uint32]uint64), } - bc.SetValidator(NewBlockValidator(chainConfig, bc, engine)) + bc.SetValidator(NewDexonBlockValidator(chainConfig, bc, engine)) bc.SetProcessor(NewStateProcessor(chainConfig, bc, engine)) var err error |