mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-26 19:47:05 +02:00
info -> check wallet locked
This commit is contained in:
@@ -86,9 +86,12 @@ case $CHOICE in
|
||||
exit 1;
|
||||
;;
|
||||
INFO)
|
||||
./00infoBlitz.sh
|
||||
echo "Screen is not refreshing itself ... press ENTER to continue."
|
||||
read key
|
||||
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)
|
||||
|
Reference in New Issue
Block a user