diff --git a/cashu/mint/tasks.py b/cashu/mint/tasks.py index 87d409e5..1a466977 100644 --- a/cashu/mint/tasks.py +++ b/cashu/mint/tasks.py @@ -38,7 +38,6 @@ async def invoice_listener(self, backend: LightningBackend) -> None: async def invoice_callback_dispatcher(self, checking_id: str) -> None: logger.debug(f"Invoice callback dispatcher: {checking_id}") - return async with self.db.get_connection( lock_table="mint_quotes", lock_select_statement=f"checking_id='{checking_id}'",