Skip to content

Commit

Permalink
fix get_invoice_status
Browse files Browse the repository at this point in the history
  • Loading branch information
lollerfirst committed Nov 20, 2024
1 parent 1f3ab34 commit 3c6b125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cashu/wallet/lightning/lightning.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3c6b125

Please sign in to comment.