fix: cannon treats ap with different generations as incompatible (#350)

Fixes #348.
This commit is contained in:
Valery Antopol
2022-09-30 21:43:51 +03:00
committed by GitHub
parent 2e98712cb2
commit dd0c458339
3 changed files with 60 additions and 3 deletions

View File

@ -114,9 +114,7 @@ fn check_canon_results(
{
continue;
}
(Some(ExecutedState::Ap(prev_ap_result)), Some(ExecutedState::Ap(current_ap_result)))
if prev_ap_result == current_ap_result =>
{
(Some(ExecutedState::Ap(_)), Some(ExecutedState::Ap(_))) => {
continue;
}
_ => {