From 8410776ffbc8fe846591b049796dc41e87652e21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Thu, 2 Mar 2023 12:07:20 +0100 Subject: [PATCH] only make it fallback when adminui is enabled --- lnbits/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/app.py b/lnbits/app.py index 65acea2e..9156efda 100644 --- a/lnbits/app.py +++ b/lnbits/app.py @@ -127,7 +127,7 @@ async def check_funding_source() -> None: except: pass - if retry_counter == timeout: + if settings.lnbits_admin_ui and retry_counter == timeout: logger.warning( f"Fallback to VoidWallet, because the backend for {WALLET.__class__.__name__} isn't working properly" )