diff options
author | Wei-Ning Huang <aitjcize@gmail.com> | 2018-11-09 14:16:18 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | 2b933ead81a80cda2f3dedeca7de8f6c5acdebee (patch) | |
tree | 046f4857fbec376c0edc5da4f4e7a96e6da6f893 /core | |
parent | 215235cb1d3544afc2ad046fcf99f28a1050b085 (diff) | |
download | dexon-2b933ead81a80cda2f3dedeca7de8f6c5acdebee.tar dexon-2b933ead81a80cda2f3dedeca7de8f6c5acdebee.tar.gz dexon-2b933ead81a80cda2f3dedeca7de8f6c5acdebee.tar.bz2 dexon-2b933ead81a80cda2f3dedeca7de8f6c5acdebee.tar.lz dexon-2b933ead81a80cda2f3dedeca7de8f6c5acdebee.tar.xz dexon-2b933ead81a80cda2f3dedeca7de8f6c5acdebee.tar.zst dexon-2b933ead81a80cda2f3dedeca7de8f6c5acdebee.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 0949c7cc2..606927c77 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 |