mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
CAKE-345 | fixed conditions in electrum_wallet.dart and monero_wallet.dart
This commit is contained in:
@@ -186,8 +186,8 @@ abstract class ElectrumWalletBase extends WalletBase<ElectrumBalance,
|
||||
var fee = 0;
|
||||
|
||||
if (hasMultiDestination) {
|
||||
if (outputs.any((item) => item.sendAll) ||
|
||||
outputs.any((item) => item.formattedCryptoAmount <= 0)) {
|
||||
if (outputs.any((item) => item.sendAll
|
||||
|| item.formattedCryptoAmount <= 0)) {
|
||||
throw BitcoinTransactionWrongBalanceException(currency);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user