From 65523113927f551920c5e6637759836d9292ab5a Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 30 Sep 2025 04:15:44 +0000 Subject: don't credit dust --- routes/payments.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/payments.ts b/routes/payments.ts index 9df20c76..2f05c049 100644 --- a/routes/payments.ts +++ b/routes/payments.ts @@ -466,6 +466,7 @@ export default { if (!p) { const invoice = await getInvoice(address); if (!hot && aid !== invoice?.aid) continue; + if (sats(amount) < 500) continue; await credit({ hash: address, amount: sats(amount), -- cgit v1.2.3