Skip to content

Commit

Permalink
Merge pull request #17 from maticnetwork/sreevalsan/amoy
Browse files Browse the repository at this point in the history
add amoy support to the install script
  • Loading branch information
sreevalsanmr authored Dec 4, 2023
2 parents 16129be + b658961 commit 72998b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ if [ ! -z "$1" ]; then
fi

if [ ! -z "$2" ]; then
if [ "$2" = "mainnet" ] || [ "$2" = "mumbai" ]; then
if [ "$2" = "mainnet" ] || [ "$2" = "mumbai" ] || [ "$2" = "amoy" ]; then
network="$2"
else
echo "Invalid network: $2, choose from 'mainnet' or 'mumbai'"
echo "Invalid network: $2, choose from 'mainnet' or 'mumbai' or 'amoy'"
exit 1
fi
fi
Expand Down
4 changes: 2 additions & 2 deletions heimdall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ if [ ! -z "$1" ]; then
fi

if [ ! -z "$2" ]; then
if [ "$2" = "mainnet" ] || [ "$2" = "mumbai" ]; then
if [ "$2" = "mainnet" ] || [ "$2" = "mumbai" ] || [ "$2" = "amoy" ]; then
network="$2"
else
echo "Invalid network: $2, choose from 'mainnet' or 'mumbai'"
echo "Invalid network: $2, choose from 'mainnet' or 'mumbai' or 'amoy'"
exit 1
fi
fi
Expand Down

0 comments on commit 72998b7

Please sign in to comment.