Skip to content

Commit

Permalink
[fix] Fix localnet config - local ports should be set to true
Browse files Browse the repository at this point in the history
  • Loading branch information
wacban committed Dec 7, 2022
1 parent 8c83455 commit f28cc3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nearcore/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
) {
Expand All @@ -1174,7 +1175,7 @@ pub fn init_testnet_configs(
num_validator_seats,
num_non_validator_seats,
prefix,
false,
local_ports,
archive,
fixed_shards,
);
Expand Down
1 change: 1 addition & 0 deletions neard/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ impl LocalnetCmd {
self.validators,
self.non_validators,
&self.prefix,
true,
self.archival_nodes,
self.fixed_shards,
);
Expand Down

0 comments on commit f28cc3e

Please sign in to comment.