From c535557dad2ede83acb7470a20635d6b3b9e46c4 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Fri, 16 Feb 2024 11:08:24 +0100 Subject: [PATCH] fix wallet deprecated mock with expiry --- cashu/wallet/wallet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cashu/wallet/wallet.py b/cashu/wallet/wallet.py index 314d3182..982edf2e 100644 --- a/cashu/wallet/wallet.py +++ b/cashu/wallet/wallet.py @@ -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)