Avoid airdroping when airdrops are disabled
This commit is contained in:
@ -50,7 +50,7 @@ while [[ -n $1 ]]; do
|
|||||||
shift 2
|
shift 2
|
||||||
elif [[ $1 = --force ]]; then
|
elif [[ $1 = --force ]]; then
|
||||||
maybe_force=--force
|
maybe_force=--force
|
||||||
shift 2
|
shift 1
|
||||||
elif [[ $1 = --url || $1 = -u ]]; then
|
elif [[ $1 = --url || $1 = -u ]]; then
|
||||||
url=$2
|
url=$2
|
||||||
shift 2
|
shift 2
|
||||||
|
@ -261,7 +261,11 @@ local|tar|skip)
|
|||||||
waitForNodeToInit
|
waitForNodeToInit
|
||||||
|
|
||||||
if [[ $skipSetup != true && $nodeType != blockstreamer ]]; then
|
if [[ $skipSetup != true && $nodeType != blockstreamer ]]; then
|
||||||
./multinode-demo/delegate-stake.sh --force $stake
|
maybe_no_airdrop=
|
||||||
|
if [[ $airdropsEnabled != true ]]; then
|
||||||
|
maybe_no_airdrop=--no-airdrop
|
||||||
|
fi
|
||||||
|
./multinode-demo/delegate-stake.sh $maybe_no_airdrop --force $stake
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
replicator)
|
replicator)
|
||||||
|
Reference in New Issue
Block a user