mirror of
https://github.com/tendermint/tendermint.git
synced 2026-05-25 08:31:40 +00:00
use second block commit instead of ext commit in persistence logic
This commit is contained in:
@@ -629,7 +629,7 @@ func (r *Reactor) poolRoutine(ctx context.Context, stateSynced bool, blockSyncCh
|
||||
if state.ConsensusParams.ABCI.VoteExtensionsEnabled(first.Height) {
|
||||
r.store.SaveBlockWithExtendedCommit(first, firstParts, extCommit)
|
||||
} else {
|
||||
r.store.SaveBlock(first, firstParts, extCommit.ToCommit())
|
||||
r.store.SaveBlock(first, firstParts, second.LastCommit)
|
||||
}
|
||||
|
||||
// TODO: Same thing for app - but we would need a way to get the hash
|
||||
|
||||
Reference in New Issue
Block a user