Skip to content

Commit

Permalink
include preimage and change in response from melt quote state check (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
elnosh authored Nov 1, 2024
1 parent b8dd43d commit fc9ed7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cashu/mint/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ async def get_melt_quote(request: Request, quote: str) -> PostMeltQuoteResponse:
paid=melt_quote.paid,
state=melt_quote.state.value,
expiry=melt_quote.expiry,
payment_preimage=melt_quote.payment_preimage,
change=melt_quote.change,
)
logger.trace(f"< GET /v1/melt/quote/bolt11/{quote}")
return resp
Expand Down

0 comments on commit fc9ed7c

Please sign in to comment.