From 3c6b125862908ce628edec6854b275cdb568b719 Mon Sep 17 00:00:00 2001 From: lollerfirst Date: Wed, 20 Nov 2024 17:50:15 +0100 Subject: [PATCH] fix `get_invoice_status` --- cashu/wallet/lightning/lightning.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cashu/wallet/lightning/lightning.py b/cashu/wallet/lightning/lightning.py index 61cf26e8..5d6c368f 100644 --- a/cashu/wallet/lightning/lightning.py +++ b/cashu/wallet/lightning/lightning.py @@ -108,7 +108,7 @@ async def get_invoice_status(self, request: str) -> PaymentStatus: return PaymentStatus(result=PaymentResult.SETTLED) try: # to check the invoice state, we try minting tokens - await self.mint(mint_quote.amount, quote_id=mint_quote.quote) + await self.mint(mint_quote.amount, quote_id=mint_quote.quote, quote_privkey=mint_quote.privkey) return PaymentStatus(result=PaymentResult.SETTLED) except Exception as e: print(e)