From 805870d870d60636e98e1ac5cec250e1b049b61f Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Tue, 24 Sep 2024 14:02:24 +0200 Subject: [PATCH] remove comments --- cashu/mint/crud.py | 17 ----------------- cashu/wallet/wallet.py | 2 -- 2 files changed, 19 deletions(-) diff --git a/cashu/mint/crud.py b/cashu/mint/crud.py index 5e87afd5..a3f6b1f2 100644 --- a/cashu/mint/crud.py +++ b/cashu/mint/crud.py @@ -522,23 +522,6 @@ async def update_mint_quote( }, ) - # async def update_mint_quote_paid( - # self, - # *, - # quote_id: str, - # paid: bool, - # db: Database, - # conn: Optional[Connection] = None, - # ) -> None: - # await (conn or db).execute( - # f"UPDATE {db.table_with_schema('mint_quotes')} SET paid = ? WHERE" - # " quote = ?", - # ( - # paid, - # quote_id, - # ), - # ) - async def store_melt_quote( self, *, diff --git a/cashu/wallet/wallet.py b/cashu/wallet/wallet.py index 382de504..7640baf7 100644 --- a/cashu/wallet/wallet.py +++ b/cashu/wallet/wallet.py @@ -770,9 +770,7 @@ async def melt( # payment is still pending return status - # else: # invoice was paid successfully - await self.invalidate(proofs) # update paid status in db