Bugfix: A single unsynced EL client may cause an inappropriate switch to optimistic mode.

This commit is contained in:
Zahary Karadjov 2023-03-14 18:18:53 +02:00
parent d899a6a834
commit 957a8c2fdc
No known key found for this signature in database
GPG Key ID: C1F42EAFF38D570F
1 changed files with 1 additions and 1 deletions

View File

@ -1060,7 +1060,7 @@ type
oldStatusIsOk
disagreement
func compareStatuses(prevStatus, newStatus: PayloadExecutionStatus): StatusRelation =
func compareStatuses(newStatus, prevStatus: PayloadExecutionStatus): StatusRelation =
case prevStatus
of PayloadExecutionStatus.syncing:
if newStatus == PayloadExecutionStatus.syncing: