diff options
| author | Adam Soltys <[email protected]> | 2026-06-04 23:38:32 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-04 23:38:32 -0700 |
| commit | c4aba2cfd76eeaa0a177a4a92ca4539f5bf61e52 (patch) | |
| tree | 5ffdfe6a26dd3ef31d6b93a27a2081b180349953 /lib/notes.ts | |
| parent | ce9616f62d0ac682c1e92956ef4cb48f053df27d (diff) | |
| download | coinos-server-c4aba2cfd76eeaa0a177a4a92ca4539f5bf61e52.tar.gz coinos-server-c4aba2cfd76eeaa0a177a4a92ca4539f5bf61e52.zip | |
payments: clarify deposit log (pending vs confirmed) to stop phantom double-receive
completePayment logs once when an on-chain deposit is first seen (pending) and
again from /confirm when it confirms, both as bare "received" — so a single
liquid/bitcoin deposit appeared twice in the logs and looked like a double
credit. It never was (the /confirm p.confirmed guard and the seen set prevent
double-crediting); purely misleading log noise. Now logs "receiving (pending)"
on first sight and "received" on confirmation. Instant lightning receives are
confirmed=true so they still log a single "received".
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'lib/notes.ts')
0 files changed, 0 insertions, 0 deletions
