diff --git a/lnbits/extensions/satspay/templates/satspay/display.html b/lnbits/extensions/satspay/templates/satspay/display.html index a60bce17..58f6b51c 100644 --- a/lnbits/extensions/satspay/templates/satspay/display.html +++ b/lnbits/extensions/satspay/templates/satspay/display.html @@ -329,9 +329,7 @@ ) }, checkBalances: async function () { - console.log('### checkBalances 1', this.charge.hasStaleBalance) if (!this.charge.hasStaleBalance) return - console.log('### checkBalances 2') try { const {data} = await LNbits.api.request( 'GET', @@ -365,12 +363,6 @@ this.pendingFunds = utxos .filter(u => !u.status.confirmed) .reduce((t, u) => t + u.value, 0) - - console.log( - '### charge new funds', - this.charge.balance === newBalance, - this.charge - ) } catch (error) { console.error('cannot check pending funds') } diff --git a/lnbits/extensions/satspay/templates/satspay/index.html b/lnbits/extensions/satspay/templates/satspay/index.html index c007b44a..abef0291 100644 --- a/lnbits/extensions/satspay/templates/satspay/index.html +++ b/lnbits/extensions/satspay/templates/satspay/index.html @@ -579,7 +579,6 @@ .filter(c => !c.paid && !c.time_elapsed && !c.hasStaleBalance) .map(c => c.id) .join(',') - console.log('### activeLinkIds', activeLinkIds) await LNbits.api.request( 'GET', '/satspay/api/v1/charges/balance/' + activeLinkIds, @@ -623,11 +622,6 @@ .reduce((t, u) => t + u.value, 0) charge.hasStaleBalance = charge.balance === newBalance - console.log( - '### charge new funds', - charge.balance === newBalance, - charge - ) } } catch (error) { console.error(error)