aboutsummaryrefslogtreecommitdiffstats
path: root/lib/payments.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-11-09 04:52:56 +0000
committerAdam Soltys <[email protected]>2024-11-15 16:46:06 +0000
commit16f8410bb823b2143dcbaaaf41b4bbb3257dffcb (patch)
treefd36ed20b93342066ed77fe867149322a4ec6d8d /lib/payments.ts
parent9c3b89f94a55194ebffc2525b55a34c5e6095974 (diff)
downloadcoinos-server-16f8410bb823b2143dcbaaaf41b4bbb3257dffcb.tar.gz
coinos-server-16f8410bb823b2143dcbaaaf41b4bbb3257dffcb.zip
wait longer before reversing
Diffstat (limited to 'lib/payments.ts')
-rw-r--r--lib/payments.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/payments.ts b/lib/payments.ts
index bc209684..94591985 100644
--- a/lib/payments.ts
+++ b/lib/payments.ts
@@ -699,7 +699,7 @@ export const check = async () => {
for (const pr of payments) {
const p = await getPayment(pr);
- if (!p || Date.now() - p.created < 10000) continue;
+ if (!p || Date.now() - p.created < 60000) continue;
const { pays } = await ln.listpays(pr);
const failed = !pays.length || pays.every((p) => p.status === "failed");