echo"FAIL PRECHECK - lncli getinfo shows 'synced_to_chain': false - wait until chain is sync "
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
exit1
exit1
fi
fi
@ -29,6 +32,8 @@ echo "$result"
if[${#result} -eq 0];then
if[${#result} -eq 0];then
echo"Empty result - sorry something went wrong - thats unusual."
echo"Empty result - sorry something went wrong - thats unusual."
echo""
echo""
echo"PRESS ENTER to return to menu"
read key
exit1
exit1
fi
fi
@ -73,4 +78,4 @@ rm -f qr.txt
# follow up info
# follow up info
whiptail --backtitle "Fund your on chain wallet"\
whiptail --backtitle "Fund your on chain wallet"\
--title "What's next?"\
--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'"00
--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'"00