aboutsummaryrefslogtreecommitdiffstats
path: root/routes/payments.js
diff options
context:
space:
mode:
Diffstat (limited to 'routes/payments.js')
-rw-r--r--routes/payments.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/payments.js b/routes/payments.js
index b4ac7dfd..84fe4e61 100644
--- a/routes/payments.js
+++ b/routes/payments.js
@@ -13,7 +13,7 @@ import got from "got";
import bc from "$lib/bitcoin";
import ln from "$lib/ln";
-let seen = [];
+let seen = await db.sMembers("missing");
let catchUp = async () => {
let txns = await bc.listTransactions("*", 50);
txns = txns.filter((tx) => tx.category === "receive" && tx.confirmations > 0);