From b658961481278caaa0f87802347d61126934fbf7 Mon Sep 17 00:00:00 2001 From: sreevalsanmr Date: Mon, 4 Dec 2023 11:57:00 +0530 Subject: [PATCH] add amoy support to the install script --- bor.sh | 4 ++-- heimdall.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bor.sh b/bor.sh index abd1255..41ddfb8 100755 --- a/bor.sh +++ b/bor.sh @@ -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 diff --git a/heimdall.sh b/heimdall.sh index 4b6b9da..e6b85eb 100755 --- a/heimdall.sh +++ b/heimdall.sh @@ -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