From 7d5cd187ab98dad5010d5d090af26c272a58d6fc Mon Sep 17 00:00:00 2001 From: Dockyr <32191714+rykcod@users.noreply.github.com> Date: Fri, 5 May 2023 23:54:43 +0200 Subject: [PATCH] CheckTestnetNodeRegistration issue 2 --- sources/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/lib.sh b/sources/lib.sh index c463329..b7f80c1 100644 --- a/sources/lib.sh +++ b/sources/lib.sh @@ -519,7 +519,7 @@ CheckTestnetNodeRegistration() { # Check if registration test done today checkRegistration=$(cat $PATH_LOGS_MASSAGUARD/$(date +%Y%m%d)-massa_guard.txt | grep "Next registration try planned for tomorrow" | wc -l) - if ([ $NODE_TESTNET_REGISTRATION == "OK" ] && [ $checkRegistration -eq 0 ]) + if ([ $NODE_TESTNET_REGISTRATION == "KO" ] && [ $checkRegistration -eq 0 ]) then # Get current TESTNET Version testnetVersion=$(ls / | grep massa-TEST | cut -d "." -f2)