pass 0 as amount to prevent no element issues, it is not displayed anywhere anyway (#2684)

This commit is contained in:
cyan
2025-11-26 19:58:36 +01:00
committed by GitHub
parent 6b725cceeb
commit 194c2199c1
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -1350,7 +1350,7 @@ abstract class LitecoinWalletBase extends ElectrumWallet with Store {
btcTx,
type,
electrumClient: electrumClient,
amount: btcTx.outputs.reduce((a, b) => TxOutput(amount: a.amount + b.amount, scriptPubKey: a.scriptPubKey)).amount.toInt(),
amount: 0,
fee: resp.fee.toInt(),
feeRate: "",
network: network,
@@ -70,7 +70,6 @@ abstract class LitecoinWalletAddressesBase extends ElectrumWalletAddresses with
}
Future<void> ensureMwebAddressUpToIndexExists(int index) async {
printV("aaaaaa");
if (Platform.isLinux || Platform.isMacOS || Platform.isWindows) {
return null;
}