mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-14 22:59:19 +02:00
better unlock detection
This commit is contained in:
parent
29f8b1ebba
commit
dc0b9e3016
@ -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 ..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user