From 57d52ce6f9e13921b3d5daa9d7fcc412130a1f40 Mon Sep 17 00:00:00 2001 From: hatim Date: Thu, 11 May 2023 21:25:17 +0200 Subject: [PATCH] fix typo --- src/services/main/paymentManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")