remove ENTER at the end from funding

This commit is contained in:
Christian Rotzoll 2019-04-04 02:29:04 +01:00
parent e83a2555ff
commit 8dcaff61e4
2 changed files with 6 additions and 3 deletions

View File

@ -439,8 +439,6 @@ case $CHOICE in
;;
FUNDING)
./BBfundWallet.sh
echo "Press ENTER to return to main menu."
read key
./00mainMenu.sh
;;
CASHOUT)

View File

@ -15,6 +15,9 @@ fi
chainOutSync=$(lncli --chain=${network} --network=${chain}net getinfo | grep '"synced_to_chain": false' -c)
if [ ${chainOutSync} -eq 1 ]; then
echo "FAIL PRECHECK - lncli getinfo shows 'synced_to_chain': false - wait until chain is sync "
echo ""
echo "PRESS ENTER to return to menu"
read key
exit 1
fi
@ -29,6 +32,8 @@ echo "$result"
if [ ${#result} -eq 0 ]; then
echo "Empty result - sorry something went wrong - thats unusual."
echo ""
echo "PRESS ENTER to return to menu"
read key
exit 1
fi
@ -73,4 +78,4 @@ rm -f qr.txt
# follow up info
whiptail --backtitle "Fund your on chain wallet" \
--title "What's next?" \
--msgbox "Wait for confirmations. \n\nYou can use info on LCD to check if funds have arrived. \n\nIf you want your lighting node to open channels automatically, activate the 'Autopilot' under 'Activate/Deactivate Services'" 0 0
--msgbox "Wait for confirmations. \n\nYou can use info on LCD to check if funds have arrived. \n\nIf you want your lighting node to open channels automatically, activate the 'Autopilot' under 'Activate/Deactivate Services'" 0 0