validate pay

This commit is contained in:
callebtc
2022-10-05 21:20:24 +02:00
parent 6ecb9877cf
commit d8b5a6d402
5 changed files with 30 additions and 6 deletions

View File

@@ -62,7 +62,7 @@ async def melt(payload: MeltRequest):
"""
Requests tokens to be destroyed and sent out via Lightning.
"""
ok, preimage = await ledger.melt(payload.proofs, payload.amount, payload.invoice)
ok, preimage = await ledger.melt(payload.proofs, payload.invoice)
resp = GetMeltResponse(paid=ok, preimage=preimage)
return resp