mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-19 20:14:59 +02:00
auto check
This commit is contained in:
@@ -1847,9 +1847,7 @@ page_container %}
|
|||||||
|
|
||||||
recheckPendingTokens: async function () {
|
recheckPendingTokens: async function () {
|
||||||
for (const token of this.historyTokens) {
|
for (const token of this.historyTokens) {
|
||||||
console.log(token.status, token.amount)
|
|
||||||
if (token.status === 'pending' && token.amount < 0) {
|
if (token.status === 'pending' && token.amount < 0) {
|
||||||
print('CHEKABLE')
|
|
||||||
this.checkTokenSpendable(token.token, false)
|
this.checkTokenSpendable(token.token, false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user