aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei-Ning Huang <aitjcize@gmail.com>2018-11-09 14:16:18 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:18 +0800
commit8e02a4b7e71a7dd0af4e5751c009dd4bb9a679aa (patch)
treea824bf5615d4800bcefab0ad8ddb9fcf23a67c3f
parent05498519b7815e0362978bdd1879a7aae805609d (diff)
downloadgo-tangerine-8e02a4b7e71a7dd0af4e5751c009dd4bb9a679aa.tar
go-tangerine-8e02a4b7e71a7dd0af4e5751c009dd4bb9a679aa.tar.gz
go-tangerine-8e02a4b7e71a7dd0af4e5751c009dd4bb9a679aa.tar.bz2
go-tangerine-8e02a4b7e71a7dd0af4e5751c009dd4bb9a679aa.tar.lz
go-tangerine-8e02a4b7e71a7dd0af4e5751c009dd4bb9a679aa.tar.xz
go-tangerine-8e02a4b7e71a7dd0af4e5751c009dd4bb9a679aa.tar.zst
go-tangerine-8e02a4b7e71a7dd0af4e5751c009dd4bb9a679aa.zip
core: blockchain: fix NewBlockChainWithDexonValidator (#4)
-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