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 6ae192b commit b49e593
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 @@ -1163,6 +1163,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 @@ -1171,7 +1172,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 b49e593

Please sign in to comment.