mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-22 18:44:31 +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;
|
_stopRequested = false;
|
||||||
|
|
||||||
while (fuzeCount > 0 && !_stopRequested) {
|
while (!_stopRequested) {
|
||||||
fuzeCount--;
|
if (fusionInfo.rounds > 0) {
|
||||||
|
if (fuzeCount >= fusionInfo.rounds) {
|
||||||
|
_stopRequested = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fuzeCount++;
|
||||||
|
|
||||||
// refresh wallet utxos
|
// refresh wallet utxos
|
||||||
await _updateWalletUTXOS();
|
await _updateWalletUTXOS();
|
||||||
|
|
Loading…
Reference in a new issue