Skip to content

Commit

Permalink
fix wallet deprecated mock with expiry
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed Feb 16, 2024
1 parent 846e998 commit c535557
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cashu/wallet/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ async def melt_quote(self, payment_request: str) -> PostMeltQuoteResponse:
amount=invoice_obj.amount_msat // 1000,
fee_reserve=ret.fee or 0,
paid=False,
expiry=invoice_obj.expiry or 0,
)
# END backwards compatibility < 0.15.0
self.raise_on_error_request(resp)
Expand Down

0 comments on commit c535557

Please sign in to comment.