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