fixing lastSavedTransactionId id bug

This commit is contained in:
Blake Kaufman
2026-04-27 13:59:47 -04:00
parent 2d3b521970
commit 5c564ed8d1
+5 -1
View File
@@ -30,7 +30,11 @@ export async function getLRC20Transactions({
let lastSavedTransactionId = null;
if (savedTxs) {
for (const tx of savedTxs) {
if (tx.paymentType !== 'spark' || IS_SPARK_ID.test(tx.sparkID)) {
if (
tx.paymentType !== 'spark' ||
IS_SPARK_ID.test(tx.sparkID) ||
tx.sparkID.length < 40
) {
continue;
}