genesis: rename mint account to faucet account and make it optional (#6990)
This commit is contained in:
@@ -7,8 +7,8 @@ here=$(dirname "$0")
|
||||
# shellcheck source=multinode-demo/common.sh
|
||||
source "$here"/common.sh
|
||||
|
||||
[[ -f "$SOLANA_CONFIG_DIR"/mint-keypair.json ]] || {
|
||||
echo "$SOLANA_CONFIG_DIR/mint-keypair.json not found, create it by running:"
|
||||
[[ -f "$SOLANA_CONFIG_DIR"/faucet-keypair.json ]] || {
|
||||
echo "$SOLANA_CONFIG_DIR/faucet-keypair.json not found, create it by running:"
|
||||
echo
|
||||
echo " ${here}/setup.sh"
|
||||
exit 1
|
||||
@@ -16,4 +16,4 @@ source "$here"/common.sh
|
||||
|
||||
set -x
|
||||
# shellcheck disable=SC2086 # Don't want to double quote $solana_drone
|
||||
exec $solana_drone --keypair "$SOLANA_CONFIG_DIR"/mint-keypair.json "$@"
|
||||
exec $solana_drone --keypair "$SOLANA_CONFIG_DIR"/faucet-keypair.json "$@"
|
||||
|
Reference in New Issue
Block a user