Skip to content

Commit

Permalink
fix: test erc20 deploy syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
ducphamle2 committed May 13, 2024
1 parent 10aaaac commit 6ec54fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orai/scripts/test-erc20-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ echo "ERC20 contract addr: $contract_addr"

# validate
contract_addr_len=${#contract_addr}
if ! [[ $contract_addr_len =~ 42 ]]; then
if [ $contract_addr_len -ne 42 ] ; then
echo "ERC20 Test Failed";
# clean up
rm -rf ../../erc20-deploy/ && exit 1
Expand Down

0 comments on commit 6ec54fc

Please sign in to comment.