Skip to content

Commit

Permalink
fix (kaspanet#188)
Browse files Browse the repository at this point in the history
Co-authored-by: D-stacks <johndoe@example.com>
  • Loading branch information
D-Stacks and D-stacks authored May 29, 2023
1 parent 9411709 commit beee722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kaspad/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ impl Args {
log_level: m.get_one::<String>("log_level").cloned().unwrap(),
async_threads: m.get_one::<usize>("async_threads").cloned().unwrap_or(defaults.async_threads),
connect_peers: m.get_many::<ContextualNetAddress>("connect-peers").unwrap_or_default().copied().collect(),
add_peers: m.get_many::<ContextualNetAddress>("connect-peers").unwrap_or_default().copied().collect(),
add_peers: m.get_many::<ContextualNetAddress>("add-peers").unwrap_or_default().copied().collect(),
listen: m.get_one::<ContextualNetAddress>("listen").cloned(),
outbound_target: m.get_one::<usize>("outpeers").cloned().unwrap_or(defaults.outbound_target),
inbound_limit: m.get_one::<usize>("maxinpeers").cloned().unwrap_or(defaults.inbound_limit),
Expand Down

0 comments on commit beee722

Please sign in to comment.