calculate percent correct

This commit is contained in:
rootzoll
2018-12-11 00:20:51 +01:00
parent 0e242d06e0
commit a7cd5fccda

View File

@@ -30,7 +30,7 @@ scanstate="${item}/${total}"
# get blockchain sync progress # get blockchain sync progress
progress="$(echo "${blockchaininfo}" | jq -r '.verificationprogress')" progress="$(echo "${blockchaininfo}" | jq -r '.verificationprogress')"
progress=$(($progress * 100)) progress=$(echo "${progress}*100" | bc)
# check if blockchain is still syncing # check if blockchain is still syncing
heigh=6 heigh=6