Skip to content

Commit

Permalink
Update validate-gentx.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
evmychan authored Feb 26, 2022
1 parent 2e25e55 commit e9a8e24
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/validate-gentx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ git checkout tags/"$BINARY_VERSION" > /dev/null 2>&1
make build > /dev/null 2>&1
chmod +x "$DAEMON"

# Check if gentx is a json file.
if [ "$GENTX_FILE" != "*.json" ]; then
echo "$GENTX_FILE" is not a json file | tee -a bad_gentxs.out
exit 1
fi
# Get the diff between main and commit
echo "Diff is on $GENTX_FILE"
LEN_GENTX=${#GENTX_FILE}
Expand Down

0 comments on commit e9a8e24

Please sign in to comment.