From 6ff0f3a1bc54ddd5dccbb62fbb1bfc62780cac0c Mon Sep 17 00:00:00 2001 From: rootzoll Date: Tue, 31 Aug 2021 13:22:02 +0200 Subject: [PATCH] fix comapre --- home.admin/00infoBlitz.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/00infoBlitz.sh b/home.admin/00infoBlitz.sh index 5e12d382b..4a040e506 100755 --- a/home.admin/00infoBlitz.sh +++ b/home.admin/00infoBlitz.sh @@ -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