update status on repeated failure

This commit is contained in:
sneurlax 2023-10-20 13:23:13 -05:00
parent 1ce572b03a
commit 6fb41f13ac

View file

@ -595,6 +595,9 @@ mixin FusionWalletInterface {
// If we fail too many times in a row, stop trying.
if (_failedFuseCount >= maxFailedFuseCount) {
_updateStatus(
status: fusion.FusionStatus.failed,
info: "Failed $maxFailedFuseCount times in a row, stopping.");
_stopRequested = true;
_uiState?.failed = true;
}