Cashu fix: token spendable check (#1445)
This commit is contained in:
parent
8c4dfb5d28
commit
0dca98ca2e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue