mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-28 12:56:16 +02:00
only make it fallback when adminui is enabled
This commit is contained in:
@@ -127,7 +127,7 @@ async def check_funding_source() -> None:
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if retry_counter == timeout:
|
if settings.lnbits_admin_ui and retry_counter == timeout:
|
||||||
logger.warning(
|
logger.warning(
|
||||||
f"Fallback to VoidWallet, because the backend for {WALLET.__class__.__name__} isn't working properly"
|
f"Fallback to VoidWallet, because the backend for {WALLET.__class__.__name__} isn't working properly"
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user