mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 13:20:56 +02:00
fix comapre
This commit is contained in:
parent
1cc0d98088
commit
6ff0f3a1bc
@ -273,7 +273,7 @@ if [ "${lightning}" == "cln" ]; then
|
||||
fi
|
||||
BLOCKHEIGHT=$(echo "$blockchaininfo"|grep blocks|awk '{print $2}'|cut -d, -f1)
|
||||
CLHEIGHT=$(echo "${ln_getInfo}" | jq .blockheight)
|
||||
if [ $BLOCKHEIGHT -eq $CLHEIGHT ];then
|
||||
if [ "$BLOCKHEIGHT" == "$CLHEIGHT" ];then
|
||||
ln_sync=1
|
||||
else
|
||||
ln_sync=0
|
||||
|
Loading…
x
Reference in New Issue
Block a user