diff --git a/cashu/mint/ledger.py b/cashu/mint/ledger.py index c1a1c6e5..89ae45b0 100644 --- a/cashu/mint/ledger.py +++ b/cashu/mint/ledger.py @@ -758,7 +758,8 @@ async def get_melt_quote(self, quote_id: str) -> MeltQuote: status: PaymentStatus = await self.backends[method][ unit ].get_payment_status(melt_quote.checking_id) - if status.result == PaymentResult.SETTLED: + if status.settled: + logger.trace(f"Setting quote {quote_id} as paid") melt_quote.state = MeltQuoteState.paid if status.fee: