mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-01 00:18:10 +02:00
save space on info
This commit is contained in:
parent
1805d6528c
commit
7606944b91
@ -75,16 +75,16 @@ if [ -n ${btc_path} ]; then
|
||||
sync="OK"
|
||||
sync_color="${color_green}"
|
||||
sync_behind=" "
|
||||
elif [ ${block_diff} -eq 1 ]; then # fully synced
|
||||
elif [ ${block_diff} -eq 1 ]; then # fully synced
|
||||
sync="OK"
|
||||
sync_color="${color_green}"
|
||||
sync_behind="-1 block"
|
||||
elif [ ${block_diff} -le 10 ]; then # <= 2 blocks behind
|
||||
sync="catchup"
|
||||
elif [ ${block_diff} -le 10 ]; then # <= 2 blocks behind
|
||||
sync=""
|
||||
sync_color="${color_red}"
|
||||
sync_behind="-${block_diff} blocks"
|
||||
else
|
||||
sync="progress"
|
||||
sync=""
|
||||
sync_color="${color_red}"
|
||||
sync_behind="${sync_percentage}"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user