mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-24 13:38:11 +00:00
Reduce lnd log errors if watchtower disabled
This commit is contained in:
parent
6e01f1903c
commit
c0e6b78bc2
|
@ -84,7 +84,8 @@ def update_lightning_info():
|
|||
lightning_channels = lnd_get("/channels")
|
||||
lightning_channel_balance = lnd_get("/balance/channels")
|
||||
lightning_wallet_balance = lnd_get("/balance/blockchain")
|
||||
lightning_watchtower_server_info = lnd_get_v2("/watchtower/server")
|
||||
if is_watchtower_enabled():
|
||||
lightning_watchtower_server_info = lnd_get_v2("/watchtower/server")
|
||||
|
||||
# Poll slower (make sure we gather data early)
|
||||
if lightning_update_count < 30 or lightning_update_count % 2 == 0:
|
||||
|
|
Loading…
Reference in New Issue
Block a user