info -> check wallet locked

This commit is contained in:
Christian Rotzoll
2019-04-25 02:42:45 +02:00
parent 0ecb2f6abe
commit cf8cbd3878

View File

@@ -86,9 +86,12 @@ case $CHOICE in
exit 1;
;;
INFO)
walletLocked=$(lncli getinfo 2>&1 | grep -c "Wallet is encrypted")
if [ ${walletLocked} -eq 0 ]; then
./00infoBlitz.sh
echo "Screen is not refreshing itself ... press ENTER to continue."
read key
fi
./00raspiblitz.sh
;;
lnbalance)