Fix replicator account setup in fullnode.sh (#4430)

This commit is contained in:
Sagar Dhawan 2019-05-24 15:40:49 -07:00 committed by GitHub
parent 4c9b7c9d2b
commit 916844d399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ setup_validator_accounts() {
setup_replicator_account() {
declare entrypoint_ip=$1
declare node_keypair_path=$2
declare storage_keypair_path=$2
declare storage_keypair_path=$3
declare stake=$4
declare storage_pubkey
@ -145,7 +145,7 @@ setup_replicator_account() {
# Setup replicator storage account
$solana_wallet --keypair "$node_keypair_path" --url "http://$entrypoint_ip:8899" \
create-replicator-storage-account "$storage_keypair_path" || return $?
create-replicator-storage-account "$storage_pubkey" || return $?
touch "$node_keypair_path".configured
fi