blink icon indicating copy to clipboard operation
blink copied to clipboard

usdInvoice with no amount could have long timeout

Open nicolasburtey opened this issue 1 year ago • 0 comments

diff --git a/src/graphql/public/root/mutation/ln-noamount-invoice-create-on-behalf-of-recipient.ts b/src/graphql/public/root/mutation/ln-noamount-invoice-create-on-behalf-of-recipient.ts
index 55713ab54..23b40c2f2 100644
--- a/src/graphql/public/root/mutation/ln-noamount-invoice-create-on-behalf-of-recipient.ts
+++ b/src/graphql/public/root/mutation/ln-noamount-invoice-create-on-behalf-of-recipient.ts
@@ -32,7 +32,7 @@ const LnNoAmountInvoiceCreateOnBehalfOfRecipientMutation = GT.Field({
   type: GT.NonNull(LnNoAmountInvoicePayload),
   description: dedent`Returns a lightning invoice for an associated wallet.
   Can be used to receive any supported currency value (currently USD or BTC).
-  Expires after 'expiresIn' or 24 hours for BTC invoices or 5 minutes for USD invoices.`,
+  Expires after 'expiresIn' or 24 hours`,
   args: {
     input: { type: GT.NonNull(LnNoAmountInvoiceCreateOnBehalfOfRecipientInput) },
   },
diff --git a/src/graphql/public/root/mutation/ln-noamount-invoice-create.ts b/src/graphql/public/root/mutation/ln-noamount-invoice-create.ts
index c8c78da69..9a21e8bcf 100644
--- a/src/graphql/public/root/mutation/ln-noamount-invoice-create.ts
+++ b/src/graphql/public/root/mutation/ln-noamount-invoice-create.ts
@@ -32,7 +32,7 @@ const LnNoAmountInvoiceCreateMutation = GT.Field({
   type: GT.NonNull(LnNoAmountInvoicePayload),
   description: dedent`Returns a lightning invoice for an associated wallet.
   Can be used to receive any supported currency value (currently USD or BTC).
-  Expires after 'expiresIn' or 24 hours for BTC invoices or 5 minutes for USD invoices.`,
+  Expires after 'expiresIn' or 24 hours`,
   args: {
     input: { type: GT.NonNull(LnNoAmountInvoiceCreateInput) },
   },

nicolasburtey avatar Sep 23 '23 14:09 nicolasburtey