From b4280bb70f9935f99032fd46036b571f4758e284 Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Fri, 9 Nov 2018 14:16:18 +0800 Subject: core: blockchain: fix NewBlockChainWithDexonValidator (#4) --- core/blockchain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') 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 -- cgit v1.2.3