aboutsummaryrefslogtreecommitdiffstats
path: root/lib/payments.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/payments.ts')
-rw-r--r--lib/payments.ts1
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";