stop doing the check_invoices thing on each call. do it once on lnbits starup and then rely on the invoices listener.
This commit is contained in:
@@ -52,9 +52,6 @@ window.LNbits = {
|
||||
getWallet: function (wallet) {
|
||||
return this.request('get', '/api/v1/wallet', wallet.inkey)
|
||||
},
|
||||
checkPending: function (wallet) {
|
||||
return this.request('post', '/api/v1/checkpending', wallet.inkey)
|
||||
},
|
||||
getPayments: function (wallet) {
|
||||
return this.request('get', '/api/v1/payments', wallet.inkey)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user