diff --git a/nearcore/src/config.rs b/nearcore/src/config.rs index c755a10a4ef..cd0a16d7764 100644 --- a/nearcore/src/config.rs +++ b/nearcore/src/config.rs @@ -1166,6 +1166,7 @@ pub fn init_testnet_configs( num_validator_seats: NumSeats, num_non_validator_seats: NumSeats, prefix: &str, + local_ports: bool, archive: bool, fixed_shards: bool, ) { @@ -1174,7 +1175,7 @@ pub fn init_testnet_configs( num_validator_seats, num_non_validator_seats, prefix, - false, + local_ports, archive, fixed_shards, ); diff --git a/neard/src/cli.rs b/neard/src/cli.rs index b48b0ba91bb..14e071adc5f 100644 --- a/neard/src/cli.rs +++ b/neard/src/cli.rs @@ -564,6 +564,7 @@ impl LocalnetCmd { self.validators, self.non_validators, &self.prefix, + true, self.archival_nodes, self.fixed_shards, );