Cashu fix: token spendable check (#1445)
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user