aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorWei-Ning Huang <aitjcize@gmail.com>2018-11-09 14:16:18 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:53 +0800
commitb4280bb70f9935f99032fd46036b571f4758e284 (patch)
treea64b00f24b874cd3170fb9eb6e30da013e13f1fc /core
parentc4e7e5e338e57995a9d709129d8d5c22863432c0 (diff)
downloaddexon-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.go2
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