burn all spent tokens with cashu burn -a

This commit is contained in:
callebtc
2022-09-17 23:26:51 +03:00
parent fac578b956
commit f02ac8d3ee
5 changed files with 57 additions and 25 deletions

View File

@@ -144,7 +144,7 @@ async def melt(payload: MeltPayload):
@app.post("/check")
async def check_spendable(payload: CheckPayload):
return {"spendable": await ledger.check_spendable(payload.proofs)}
return await ledger.check_spendable(payload.proofs)
@app.post("/split")