From 8a9a96a52c170420aaa7d399ed7e1ebd1658d13a Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Mon, 2 Feb 2026 15:15:45 +0200 Subject: [PATCH] chore: clean-up --- lnbits/core/services/payments.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lnbits/core/services/payments.py b/lnbits/core/services/payments.py index 8a551ce3b..ef1d07dbd 100644 --- a/lnbits/core/services/payments.py +++ b/lnbits/core/services/payments.py @@ -850,14 +850,6 @@ async def _pay_external_invoice( payment, payment_response, conn=conn ) - # fetch wallet balance - _wallet = await get_wallet(wallet.id, conn=conn) - if not _wallet: - raise PaymentError( - f"Could not fetch wallet '{wallet.id}'.", - status="failed", - ) - await _send_payment_notification_in_background(wallet.id, payment, conn=conn) logger.success(f"payment successful {payment_response.checking_id}")