improve txindex detection

This commit is contained in:
rootzoll 2020-06-29 04:44:32 +02:00
parent 740bb4e7c9
commit 0cd12993b4

View file

@ -21,7 +21,7 @@ if [ "$1" = "menu" ]; then
source <(sudo /home/admin/config.scripts/bonus.btc-rpc-explorer.sh status)
# check if index is ready
if [ ${isIndexed} -eq 0 ]; then
if [ "${isIndexed}" == "0" ]; then
dialog --title " Blockchain Index Not Ready " --msgbox "
The Blockchain Index is still getting build.
Please wait and try again later.