[skip ci] minor code cleanup

This commit is contained in:
fossephate 2024-09-23 14:29:13 -07:00
parent e48cd0df41
commit dbc2fb3fb1

View file

@ -697,7 +697,7 @@ abstract class LitecoinWalletBase extends ElectrumWallet with Store {
unconfirmedMweb += utxo.value.toInt(); unconfirmedMweb += utxo.value.toInt();
} }
}); });
if (/*confirmedMweb > 0 &&*/ unconfirmedMweb > 0) { if (unconfirmedMweb > 0) {
unconfirmedMweb = -1 * (confirmedMweb - unconfirmedMweb); unconfirmedMweb = -1 * (confirmedMweb - unconfirmedMweb);
} }
} catch (_) {} } catch (_) {}