Merge remote-tracking branch 'origin/master' into p2p-dialer-store-change

This commit is contained in:
tycho garen
2022-06-16 15:49:41 -04:00
2 changed files with 3 additions and 2 deletions

View File

@@ -254,7 +254,7 @@ afford to lose all blockchain data!
To reset a blockchain, stop the node and run:
```sh
tendermint unsafe_reset_all
tendermint unsafe-reset-all
```
This command will remove the data directory and reset private validator and

View File

@@ -1530,7 +1530,8 @@ func (cs *State) defaultDoPrevote(ctx context.Context, height int64, round int32
}
sp := cs.state.ConsensusParams.Synchrony.SynchronyParamsOrDefaults()
if cs.Proposal.POLRound == -1 && cs.LockedRound == -1 && !cs.proposalIsTimely() {
//TODO: Remove this temporary fix when the complete solution is ready. See #8739
if !cs.replayMode && cs.Proposal.POLRound == -1 && cs.LockedRound == -1 && !cs.proposalIsTimely() {
logger.Debug("prevote step: Proposal is not timely; prevoting nil",
"proposed",
tmtime.Canonical(cs.Proposal.Timestamp).Format(time.RFC3339Nano),