mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-13 06:09:47 +02:00
fix missing scantime
This commit is contained in:
parent
2af71fcf9a
commit
64e406a40a
@ -221,7 +221,7 @@ if [ ${lndRunning} -eq 1 ]; then
|
||||
# lnd scan progress
|
||||
scanTimestamp=$(echo ${lndinfo} | jq -r '.best_header_timestamp')
|
||||
nowTimestamp=$(date +%s)
|
||||
if [ ${scanTimestamp} -gt ${nowTimestamp} ]; then
|
||||
if [ ${#scanTimestamp} -gt 0 ] && [ ${scanTimestamp} -gt ${nowTimestamp} ]; then
|
||||
scanTimestamp=${nowTimestamp}
|
||||
fi
|
||||
if [ ${#scanTimestamp} -gt 0 ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user