mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-10 04:43:10 +02:00
calculate percent correct
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user