get fresh sync progress

This commit is contained in:
rootzoll 2021-06-25 00:17:54 +02:00
parent f008eb4732
commit 6356a67935

View file

@ -26,6 +26,8 @@ fi
############################################ ############################################
# BLOCKCHAIN INFO & OPTIONS # BLOCKCHAIN INFO & OPTIONS
# get fresh data
source <(sudo /home/admin/config.scripts/blitz.statusscan.sh)
if [ "${syncProgress}" != "" ] && [ "${network}" == "bitcoin" ] && [ ${syncProgress} -lt 75 ]; then if [ "${syncProgress}" != "" ] && [ "${network}" == "bitcoin" ] && [ ${syncProgress} -lt 75 ]; then
# offer choice to copy blockchain over LAN # offer choice to copy blockchain over LAN