Avoid airdroping when airdrops are disabled

This commit is contained in:
Michael Vines
2019-08-01 22:43:09 -07:00
parent 0f5acb86d3
commit 59d900977d
2 changed files with 6 additions and 2 deletions

View File

@ -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)