Skip to content

Commit

Permalink
expiry is absolute time
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed Apr 16, 2024
1 parent ebfdf8e commit 4ecbda1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cashu/wallet/wallet_deprecated.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ async def request_mint_deprecated(self, amount) -> PostMintQuoteResponse:
quote=mint_response.hash,
request=mint_response.pr,
paid=False,
expiry=decoded_invoice.expiry,
expiry=decoded_invoice.date + (decoded_invoice.expiry or 0),
)

@async_set_httpx_client
Expand Down

0 comments on commit 4ecbda1

Please sign in to comment.