mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-22 10:34:32 +00:00
fuzeCount logic change
This commit is contained in:
parent
a194195933
commit
1d011afa57
1 changed files with 9 additions and 3 deletions
|
@ -456,11 +456,17 @@ mixin FusionWalletInterface {
|
|||
},
|
||||
);
|
||||
|
||||
int fuzeCount = fusionInfo.rounds;
|
||||
int fuzeCount = 0;
|
||||
_stopRequested = false;
|
||||
|
||||
while (fuzeCount > 0 && !_stopRequested) {
|
||||
fuzeCount--;
|
||||
while (!_stopRequested) {
|
||||
if (fusionInfo.rounds > 0) {
|
||||
if (fuzeCount >= fusionInfo.rounds) {
|
||||
_stopRequested = true;
|
||||
}
|
||||
}
|
||||
|
||||
fuzeCount++;
|
||||
|
||||
// refresh wallet utxos
|
||||
await _updateWalletUTXOS();
|
||||
|
|
Loading…
Reference in a new issue