diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh index 6067dfc..0c2e7d1 100755 --- a/scripts/upgrade.sh +++ b/scripts/upgrade.sh @@ -6,7 +6,7 @@ rootDir=`pwd` app=$1 daoAddress=$2 -if [ -z "$VAR" ]; then +if [ -z "$2" ]; then daoAddress=$KREDITS_DAO_ADDRESS fi