Skip to content

Commit

Permalink
CheckTestnetNodeRegistration issue 2
Browse files Browse the repository at this point in the history
  • Loading branch information
rykcod authored May 5, 2023
1 parent b58caf3 commit 7d5cd18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7d5cd18

Please sign in to comment.