mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-18 09:57:17 +01:00
better unlock detection
This commit is contained in:
@@ -112,7 +112,7 @@ waitUntilChainNetworkIsReady()
|
||||
boxwidth=40
|
||||
dialog --backtitle "RaspiBlitz ${localip} - Welcome" --infobox "$l1$l2$l3" 5 ${boxwidth}
|
||||
else
|
||||
locked=$(sudo tail -n 1 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log | grep -c unlock)
|
||||
locked=$(lncli --chain=${network} getinfo 2>&1 | grep -c unlock)
|
||||
if [ ${locked} -gt 0 ]; then
|
||||
./AAunlockLND.sh
|
||||
echo "please wait ..."
|
||||
|
||||
Reference in New Issue
Block a user