diff options
| author | Adam Soltys <[email protected]> | 2026-07-10 22:56:12 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-07-10 22:56:12 -0700 |
| commit | 7d8cd769e6cf91dda70fdf06db72a0b03e263dd7 (patch) | |
| tree | 343ba42197a168a8aaa9354990b94d22542ff87e /lib/db.ts | |
| parent | fa029437a162088ff79f36872110fa4087011530 (diff) | |
| download | coinos-server-7d8cd769e6cf91dda70fdf06db72a0b03e263dd7.tar.gz coinos-server-7d8cd769e6cf91dda70fdf06db72a0b03e263dd7.zip | |
invoices: reject sub-300-sat on-chain invoice amounts
On-chain deposits below 300 sats are dropped by the dust filter in the
confirm/credit path, so a specific-amount bitcoin/liquid invoice under
that threshold can never be credited. Reject creating one at generation
time and point the user at lightning. Any-amount (0) addresses are
unaffected.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'lib/db.ts')
0 files changed, 0 insertions, 0 deletions
