Skip to content

Commit

Permalink
Update contract/scripts/wait-for-chain.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Dan Connolly <[email protected]>
  • Loading branch information
amessbee and dckc authored Jan 9, 2025
1 parent ddce0f9 commit 15c610a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contract/scripts/wait-for-chain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ check_block_pattern() {
if [[ $line =~ "block-manager: block "[0-9]+" commit" ]]; then
((count++))
if [ $count -ge $required_patterns ]; then
echo
echo "$line"
return 0 # Success
fi
Expand Down

0 comments on commit 15c610a

Please sign in to comment.