mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-14 22:01:20 +00:00
remove comments for uint64 related to possible underflow [ci skip]
This commit is contained in:
@ -90,7 +90,6 @@ func (cs *ConsensusState) readReplayMessage(msg *TimedWALMessage, newStepCh chan
|
||||
|
||||
// replay only those messages since the last block.
|
||||
// timeoutRoutine should run concurrently to read off tickChan
|
||||
// CONTRACT: csHeight > 0
|
||||
func (cs *ConsensusState) catchupReplay(csHeight int64) error {
|
||||
// set replayMode
|
||||
cs.replayMode = true
|
||||
|
@ -697,7 +697,6 @@ func (cs *ConsensusState) enterNewRound(height int64, round int) {
|
||||
|
||||
// needProofBlock returns true on the first height (so the genesis app hash is signed right away)
|
||||
// and where the last block (height-1) caused the app hash to change
|
||||
// CONTRACT: height > 0
|
||||
func (cs *ConsensusState) needProofBlock(height int64) bool {
|
||||
if height == 1 {
|
||||
return true
|
||||
|
Reference in New Issue
Block a user