mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 17:57:40 +00:00
update status on repeated failure
This commit is contained in:
parent
1ce572b03a
commit
6fb41f13ac
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue