aboutsummaryrefslogtreecommitdiffstats
path: root/routes/payments.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-09-24 20:12:32 -0700
committerAdam Soltys <[email protected]>2024-09-24 20:12:32 -0700
commit3ac47dfbda99f192201af63357e51efc01dde612 (patch)
tree8add213fcd414ebdd33a57e58e2a221a861c768e /routes/payments.ts
parent80365c227c5a774ad65f5dad8b989e1966630160 (diff)
downloadcoinos-server-3ac47dfbda99f192201af63357e51efc01dde612.tar.gz
coinos-server-3ac47dfbda99f192201af63357e51efc01dde612.zip
handle txoutset retries
Diffstat (limited to 'routes/payments.ts')
-rw-r--r--routes/payments.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/payments.ts b/routes/payments.ts
index d4993b87..81e76085 100644
--- a/routes/payments.ts
+++ b/routes/payments.ts
@@ -279,7 +279,7 @@ export default {
await s(`payment:${p.id}`, p);
if (aid) await db.sRem(`inflight:${aid}`, p.id);
} else {
- if (aid) await db.sAdd(`inflight:${aid}`, p.id);
+ if (aid) await db.sAdd(`inflight:${aid}`, p.id);
}
emit(p.uid, "payment", p);