From b55cbd8bc474c1783515a3f0baa0fc629800d88d Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Sun, 6 Nov 2022 02:21:51 +0100 Subject: [PATCH] fix --- .../cashu/templates/cashu/wallet.html | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/lnbits/extensions/cashu/templates/cashu/wallet.html b/lnbits/extensions/cashu/templates/cashu/wallet.html index e00a1d05a..fb1ea92ad 100644 --- a/lnbits/extensions/cashu/templates/cashu/wallet.html +++ b/lnbits/extensions/cashu/templates/cashu/wallet.html @@ -290,8 +290,7 @@ @@ -476,7 +475,6 @@ color="primary" :disable="payInvoiceData.data.request == ''" type="submit" - flat >Continue @@ -595,7 +593,7 @@ color="primary" >Copy invoice - Create Invoice Send Tokens @@ -706,7 +703,7 @@
- Receive Tokens 100) { + // exit loop after 2m + if (nInterval > 40) { console.log("### stopping invoice check worker") clearInterval(this.invoiceCheckListener) } @@ -1813,8 +1810,8 @@ try { nInterval += 1 - // exit loop after 5m - if (nInterval > 100) { + // exit loop after 2m + if (nInterval > 24) { console.log("### stopping token check worker") clearInterval(this.tokensCheckSpendableListener) } @@ -1833,7 +1830,7 @@ } catch (error) { console.log('not paid yet') } - }, 3000) + }, 5000) }, checkTokenSpendable: async function(token, verbose=true) {