net.sh: Skip validator accounts creation if primordial

This commit is contained in:
Trent Nelson
2020-09-10 12:30:34 -06:00
committed by Trent Nelson
parent 33abd11a47
commit ff88c96549
2 changed files with 12 additions and 1 deletions

View File

@ -268,6 +268,10 @@ wallet() {
setup_validator_accounts() {
declare node_sol=$1
if [[ -n "$SKIP_ACCOUNTS_CREATION" ]]; then
return 0
fi
if ! wallet vote-account "$vote_account"; then
if ((airdrops_enabled)); then
echo "Adding $node_sol to validator identity account:"