mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-25 11:45:59 +00:00
try again on fuze fail if while condition is still valid
This commit is contained in:
parent
ef08f526da
commit
085ac70746
1 changed files with 14 additions and 6 deletions
|
@ -527,12 +527,20 @@ mixin FusionWalletInterface {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fuse UTXOs.
|
// Fuse UTXOs.
|
||||||
await _mainFusionObject!.fuse(
|
try {
|
||||||
inputsFromWallet: coinList,
|
await _mainFusionObject!.fuse(
|
||||||
network: _coin.isTestNet
|
inputsFromWallet: coinList,
|
||||||
? fusion.Utilities.testNet
|
network: _coin.isTestNet
|
||||||
: fusion.Utilities.mainNet,
|
? fusion.Utilities.testNet
|
||||||
);
|
: fusion.Utilities.mainNet,
|
||||||
|
);
|
||||||
|
} catch (e, s) {
|
||||||
|
Logging.instance.log(
|
||||||
|
"$e\n$s",
|
||||||
|
level: LogLevel.Error,
|
||||||
|
);
|
||||||
|
// just continue on attempt failure
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue