fix(fuzz): fix precondition for receive_timeout_qc (#248)
This commit is contained in:
parent
3607ce7627
commit
8d0360ab3c
|
@ -102,7 +102,7 @@ impl ReferenceStateMachine for RefState {
|
|||
Transition::ApprovePastBlock(block) => state.highest_voted_view >= block.view,
|
||||
Transition::LocalTimeout => true,
|
||||
Transition::ReceiveTimeoutQcForRecentView(timeout_qc) => {
|
||||
timeout_qc.view() == state.current_view()
|
||||
timeout_qc.view() >= state.current_view()
|
||||
}
|
||||
Transition::ReceiveTimeoutQcForOldView(timeout_qc) => {
|
||||
timeout_qc.view() < state.current_view()
|
||||
|
|
Loading…
Reference in New Issue