From e2ba4a77a77daa29869533f6e500b6a6ec3e9708 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 10 Jan 2025 11:54:27 -0800 Subject: get internal invoice record for lookup_invoice --- lib/payments.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/payments.ts') 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"; -- cgit v1.2.3