found an edge case

This commit is contained in:
Matthew Fosse 2024-09-13 13:59:10 -07:00
parent 4503ad5401
commit 17695d1878

View file

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