diff --git a/multinode-demo/fullnode.sh b/multinode-demo/fullnode.sh index 6b277d436..a67028759 100755 --- a/multinode-demo/fullnode.sh +++ b/multinode-demo/fullnode.sh @@ -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