diff options
| author | Adam Soltys <[email protected]> | 2026-02-15 10:32:40 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-15 10:32:40 -0800 |
| commit | 4d3377ba1d37147b194c1fb0504edee3c73211a5 (patch) | |
| tree | 43943fe52e3ba574f07f37453fabd273ec8b7757 /lib/invoices.ts | |
| parent | 4a0fcb5f851190eccc7a33907a180ee584db583c (diff) | |
| download | coinos-server-4d3377ba1d37147b194c1fb0504edee3c73211a5.tar.gz coinos-server-4d3377ba1d37147b194c1fb0504edee3c73211a5.zip | |
ark refresh
Diffstat (limited to 'lib/invoices.ts')
| -rw-r--r-- | lib/invoices.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/invoices.ts b/lib/invoices.ts index f7bb6897..c5194ce3 100644 --- a/lib/invoices.ts +++ b/lib/invoices.ts @@ -88,6 +88,7 @@ export const generate = async ({ invoice, user }) => { type = PaymentType.ark; text = account.arkAddress; hash = id; + await db.del(`custodial-ark-invoice:${account.arkAddress}`); } else if (account.seed || (account.pubkey && account.fingerprint)) { type = PaymentType.bitcoin; const nextIndex = account.nextIndex || 0; |
