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 proofs = JSON.parse(tokenJson)
|
||||||
const spendable = await this.checkProofsSpendable(proofs)
|
const spendable = await this.checkProofsSpendable(proofs)
|
||||||
let paid = false
|
let paid = false
|
||||||
if (spendable.includes(true)) {
|
if (spendable.includes(false)) {
|
||||||
this.setTokenPaid(token)
|
this.setTokenPaid(token)
|
||||||
paid = true
|
paid = true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue