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