Delegate stake from the pre-created identity keypair if it exists
This commit is contained in:
parent
59d900977d
commit
b6b9c2cf56
|
@ -261,11 +261,15 @@ local|tar|skip)
|
|||
waitForNodeToInit
|
||||
|
||||
if [[ $skipSetup != true && $nodeType != blockstreamer ]]; then
|
||||
maybe_no_airdrop=
|
||||
args=(--force "$stake")
|
||||
if [[ $airdropsEnabled != true ]]; then
|
||||
maybe_no_airdrop=--no-airdrop
|
||||
args+=(--no-airdrop)
|
||||
fi
|
||||
./multinode-demo/delegate-stake.sh $maybe_no_airdrop --force $stake
|
||||
if [[ -f ~/solana/fullnode-identity.json ]]; then
|
||||
args+=(--keypair ~/solana/fullnode-identity.json)
|
||||
fi
|
||||
|
||||
./multinode-demo/delegate-stake.sh "${args[@]}"
|
||||
fi
|
||||
;;
|
||||
replicator)
|
||||
|
|
Loading…
Reference in New Issue