# normally if 100% gets calculated, item parsed the wrong height
percent=0
fi
# check if blockchain is still syncing
# check if blockchain is still syncing
heigh=6
heigh=6
@ -44,11 +41,11 @@ if [ ${isInitialChainSync} -gt 0 ]; then
infoStr=$(echo" Waiting for final Blockchain Sync\n Progress: ${progress}\n Please wait - this can take some long time.\n Its OK to close terminal and ssh back in later.")
infoStr=$(echo" Waiting for final Blockchain Sync\n Progress: ${progress}\n Please wait - this can take some long time.\n Its OK to close terminal and ssh back in later.")
fi
fi
else
else
infoStr=$(echo" Lightning Rescanning Blockchain ${percent}%\n Please wait - this can take some time\n ssh admin@${localip}\n Password A")
infoStr=$(echo" Lightning Rescanning Blockchain ${scanstate}\n Please wait - this can take some time\n ssh admin@${localip}\n Password A")
if["$USER"="admin"];then
if["$USER"="admin"];then
heigh=5
heigh=5
width=53
width=53
infoStr=$(echo" Lightning Rescanning Blockchain ${percent}%\n Please wait - this can take some long time.\n Its OK to close terminal and ssh back in later.")
infoStr=$(echo" Lightning Rescanning Blockchain ${scanstate}\n Please wait - this can take some long time.\n Its OK to close terminal and ssh back in later.")