diff --git a/src/services/main/paymentManager.ts b/src/services/main/paymentManager.ts index 2a947804..44de332e 100644 --- a/src/services/main/paymentManager.ts +++ b/src/services/main/paymentManager.ts @@ -174,7 +174,7 @@ export default class { async HandleLnurlWithdraw(k1: string, invoice: string): Promise { const key = await this.storage.paymentStorage.UseUserEphemeralKey(k1, 'withdraw') try { - await this.PayInvoice(key.user.user_id, { invoice: invoice, amount: 0s }) + await this.PayInvoice(key.user.user_id, { invoice: invoice, amount: 0 }) } catch (err: any) { console.error("error sending payment for lnurl withdraw to ", key.user.user_id, err) throw new Error("failed to pay invoice")