From 1ef2af3f5d6cd9bf17221831f3e43189d7d19569 Mon Sep 17 00:00:00 2001 From: Riccardo Balbo Date: Fri, 18 Oct 2024 17:18:19 +0200 Subject: [PATCH] fix error text --- wallets/blink/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallets/blink/server.js b/wallets/blink/server.js index fbbb4401..96c9967f 100644 --- a/wallets/blink/server.js +++ b/wallets/blink/server.js @@ -55,7 +55,7 @@ export async function createInvoice ( const res = out.data.lnInvoiceCreate const errors = res.errors if (errors && errors.length > 0) { - throw new Error('failed to pay invoice ' + errors.map(e => e.code + ' ' + e.message).join(', ')) + throw new Error('failed to create invoice ' + errors.map(e => e.code + ' ' + e.message).join(', ')) } const invoice = res.invoice.paymentRequest return invoice