Cashu fix: token spendable check (#1445)
This commit is contained in:
@@ -2085,7 +2085,7 @@ page_container %}
|
||||
const proofs = JSON.parse(tokenJson)
|
||||
const spendable = await this.checkProofsSpendable(proofs)
|
||||
let paid = false
|
||||
if (spendable.includes(true)) {
|
||||
if (spendable.includes(false)) {
|
||||
this.setTokenPaid(token)
|
||||
paid = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user