diff options
| author | Adam Soltys <[email protected]> | 2025-01-10 11:54:27 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-01-10 11:54:27 -0800 |
| commit | e2ba4a77a77daa29869533f6e500b6a6ec3e9708 (patch) | |
| tree | d5e742f0b5198630a5b465f518c5b3083c3ae04e /lib/payments.ts | |
| parent | 58a15601a1ffea775f80a9e7337b63f461b36b0c (diff) | |
| download | coinos-server-e2ba4a77a77daa29869533f6e500b6a6ec3e9708.tar.gz coinos-server-e2ba4a77a77daa29869533f6e500b6a6ec3e9708.zip | |
get internal invoice record for lookup_invoice
Diffstat (limited to 'lib/payments.ts')
| -rw-r--r-- | lib/payments.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/payments.ts b/lib/payments.ts index 7536d923..d88dc6aa 100644 --- a/lib/payments.ts +++ b/lib/payments.ts @@ -217,6 +217,7 @@ export const credit = async ({ else { inv.received += amount; inv.preimage = ref; + inv.settled = Date.now(); } let balanceKey = "balance"; |
