diff options
author | Mission Liao <mission.liao@dexon.org> | 2019-04-11 20:21:12 +0800 |
---|---|---|
committer | Jimmy Hu <jimmy.hu@dexon.org> | 2019-04-11 20:21:12 +0800 |
commit | 1107fedc61b1b042216948d9fea78e7747f7599f (patch) | |
tree | d91d47ad7f0ccfd58b510bbabb19c12768e80447 | |
parent | c9cd2523a1268b8b32a3b8d62dedcfadd13ccc59 (diff) | |
download | dexon-consensus-1107fedc61b1b042216948d9fea78e7747f7599f.tar dexon-consensus-1107fedc61b1b042216948d9fea78e7747f7599f.tar.gz dexon-consensus-1107fedc61b1b042216948d9fea78e7747f7599f.tar.bz2 dexon-consensus-1107fedc61b1b042216948d9fea78e7747f7599f.tar.lz dexon-consensus-1107fedc61b1b042216948d9fea78e7747f7599f.tar.xz dexon-consensus-1107fedc61b1b042216948d9fea78e7747f7599f.tar.zst dexon-consensus-1107fedc61b1b042216948d9fea78e7747f7599f.zip |
Remove this purge, it's done in Consensus (#566)
-rw-r--r-- | core/blockchain.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/blockchain.go b/core/blockchain.go index 9fbb861..1efd867 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -204,9 +204,6 @@ func (bc *blockChain) notifyRoundEvents(evts []utils.RoundEventParam) error { } bc.configs = append(bc.configs, c) } - if e.Reset != 0 { - bc.vGetter.Purge(e.Round + 1) - } return nil } for _, e := range evts { |