pass 0 as amount to prevent no element issues, it is not displayed anywhere anyway (#2684)
cyan committed
Nov 26, 2025 at 15:58 UTC
194c2199c1700f4861b162da94b0ad524b43c019
2 files changed
+1
-2
cw_bitcoin/lib/litecoin_wallet.dart
+1
-1
@@ -1350,7 +1350,7 @@ abstract class LitecoinWalletBase extends ElectrumWallet with Store {
1350
btcTx,
1351
type,
1352
electrumClient: electrumClient,
1353
- amount: btcTx.outputs.reduce((a, b) => TxOutput(amount: a.amount + b.amount, scriptPubKey: a.scriptPubKey)).amount.toInt(),
1353
+ amount: 0,
1354
fee: resp.fee.toInt(),
1355
feeRate: "",
1356
network: network,
cw_bitcoin/lib/litecoin_wallet_addresses.dart
-1
@@ -70,7 +70,6 @@ abstract class LitecoinWalletAddressesBase extends ElectrumWalletAddresses with
70
}
71
72
Future<void> ensureMwebAddressUpToIndexExists(int index) async {
73
- printV("aaaaaa");
73
if (Platform.isLinux || Platform.isMacOS || Platform.isWindows) {
74
return null;
75
}