Browse Source

remove ENTER at the end from funding

master
Christian Rotzoll 6 years ago
parent
commit
8dcaff61e4
  1. 2
      home.admin/00mainMenu.sh
  2. 5
      home.admin/BBfundWallet.sh

2
home.admin/00mainMenu.sh

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

5
home.admin/BBfundWallet.sh

@ -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

Loading…
Cancel
Save