diff options
| author | Adam Soltys <[email protected]> | 2025-09-30 04:15:44 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-09-29 21:17:40 -0700 |
| commit | 65523113927f551920c5e6637759836d9292ab5a (patch) | |
| tree | 01383d048fa058a22d44d9ce90de1ee03a0e1e6a | |
| parent | 0af958ade70cbf1806489730717739c181b53fdf (diff) | |
| download | coinos-server-65523113927f551920c5e6637759836d9292ab5a.tar.gz coinos-server-65523113927f551920c5e6637759836d9292ab5a.zip | |
don't credit dust
| -rw-r--r-- | routes/payments.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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), |
