Skip to content

Commit cb0b1a1

Browse files
committed
updated ci
1 parent e255f72 commit cb0b1a1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
run: |
7272
chmod +x submission/03.sh
7373
LATEST_BLOCK_HEIGHT=$(submission/03.sh)
74-
if [[ "$LATEST_BLOCK_HEIGHT" >= 0 ]]; then
74+
if [[ $LATEST_BLOCK_HEIGHT -ge 0 ]]; then
7575
echo "✅ Success: Node latest block height passed!"
7676
else
7777
echo "❌ Error: Node latest block height failed!"
@@ -148,7 +148,7 @@ jobs:
148148
run: |
149149
chmod +x submission/10.sh
150150
RESULT=$(submission/10.sh)
151-
if [[ "$RESULT" == "true" ]]; then
151+
if [[ "$RESULT" == "false" ]]; then
152152
echo "✅ Success: Address validation passed!"
153153
else
154154
echo "❌ Error: Address validation failed"

0 commit comments

Comments
 (0)