mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-18 09:57:17 +01:00
ui fixes
This commit is contained in:
@@ -173,6 +173,9 @@ else
|
||||
if [ ${ln_sync} -eq 0 ]; then
|
||||
item=$(sudo -u bitcoin tail -n 100 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log | grep height | tail -n1 | awk '{print $9} {print $10} {print $11} {print $12}' | tr -dc '0-9')
|
||||
total=$(sudo -u bitcoin ${network}-cli -datadir=/home/bitcoin/.${network} getblockchaininfo | jq -r '.blocks')
|
||||
if [ "${item}" = "${total}" ]; then
|
||||
item="?"
|
||||
fi
|
||||
ln_baseInfo="${color_red} waiting for chain sync"
|
||||
ln_channelInfo="${item}/${total}"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user