mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 21:01:21 +00:00
consensus/wal: #HEIGHT -> #ENDHEIGHT
This commit is contained in:
@ -1202,6 +1202,12 @@ func (cs *ConsensusState) finalizeCommit(height int) {
|
||||
|
||||
fail.Fail() // XXX
|
||||
|
||||
if cs.wal != nil {
|
||||
cs.wal.writeEndHeight(height)
|
||||
}
|
||||
|
||||
fail.Fail() // XXX
|
||||
|
||||
// Save to blockStore.
|
||||
if cs.blockStore.Height() < block.Height {
|
||||
// NOTE: the seenCommit is local justification to commit this block,
|
||||
|
Reference in New Issue
Block a user