This commit is contained in:
Matthew Fosse 2024-07-17 14:59:25 -07:00
parent adee6ffe53
commit a2121ef73e

View file

@ -179,19 +179,19 @@ abstract class LitecoinWalletBase extends ElectrumWallet with Store {
syncStatus = SyncedSyncStatus(); syncStatus = SyncedSyncStatus();
} }
// if (resp.mwebUtxosHeight > mwebUtxosHeight) { if (resp.mwebUtxosHeight > mwebUtxosHeight) {
// mwebUtxosHeight = resp.mwebUtxosHeight; mwebUtxosHeight = resp.mwebUtxosHeight;
// await checkMwebUtxosSpent(); await checkMwebUtxosSpent();
// // update the confirmations for each transaction: // update the confirmations for each transaction:
// for (final transaction in transactionHistory.transactions.values) { for (final transaction in transactionHistory.transactions.values) {
// if (transaction.isPending) continue; if (transaction.isPending) continue;
// final confirmations = mwebUtxosHeight - transaction.height + 1; final confirmations = mwebUtxosHeight - transaction.height + 1;
// if (transaction.confirmations == confirmations) continue; if (transaction.confirmations == confirmations) continue;
// transaction.confirmations = confirmations; transaction.confirmations = confirmations;
// transactionHistory.addOne(transaction); transactionHistory.addOne(transaction);
// } }
// await transactionHistory.save(); await transactionHistory.save();
// } }
} }
}); });
processMwebUtxos(); processMwebUtxos();