Use |solana-keygen pubkey| instead of |solana-wallet address|

Same end result but solana-keygen is a smaller program that builds
faster
This commit is contained in:
Michael Vines 2019-04-12 17:38:40 -07:00
parent 2277a39dd2
commit c7a7d6db84
2 changed files with 2 additions and 3 deletions

View File

@ -65,7 +65,7 @@ $solana_ledger_tool --ledger "$SOLANA_CONFIG_DIR"/bootstrap-leader-ledger verify
bootstrap_leader_id_path="$SOLANA_CONFIG_DIR"/bootstrap-leader-id.json
bootstrap_leader_vote_id_path="$SOLANA_CONFIG_DIR"/bootstrap-leader-vote-id.json
bootstrap_leader_vote_id=$($solana_wallet --keypair "$bootstrap_leader_vote_id_path" address)
bootstrap_leader_vote_id=$($solana_keygen pubkey "$bootstrap_leader_vote_id_path")
trap 'kill "$pid" && wait "$pid"' INT TERM ERR
$program \

View File

@ -141,8 +141,7 @@ else
accounts_config_dir=$SOLANA_CONFIG_DIR/fullnode-accounts-x$self_setup_label
fi
fullnode_vote_id=$($solana_wallet --keypair "$fullnode_vote_id_path" address)
fullnode_vote_id=$($solana_keygen pubkey "$fullnode_vote_id_path")
[[ -r $fullnode_id_path ]] || {
echo "$fullnode_id_path does not exist"