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