Avoid airdroping when airdrops are disabled
This commit is contained in:
parent
0f5acb86d3
commit
59d900977d
|
@ -50,7 +50,7 @@ while [[ -n $1 ]]; do
|
|||
shift 2
|
||||
elif [[ $1 = --force ]]; then
|
||||
maybe_force=--force
|
||||
shift 2
|
||||
shift 1
|
||||
elif [[ $1 = --url || $1 = -u ]]; then
|
||||
url=$2
|
||||
shift 2
|
||||
|
|
|
@ -261,7 +261,11 @@ local|tar|skip)
|
|||
waitForNodeToInit
|
||||
|
||||
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
|
||||
;;
|
||||
replicator)
|
||||
|
|
Loading…
Reference in New Issue