diff --git a/bin/darkfid2/src/main.rs b/bin/darkfid2/src/main.rs index 2b871f24c..e07eb8f57 100644 --- a/bin/darkfid2/src/main.rs +++ b/bin/darkfid2/src/main.rs @@ -101,11 +101,11 @@ struct Args { #[structopt(long)] /// Connect to peer for the consensus protocol (repeatable flag) - consensus_peer: Vec, + consensus_p2p_peer: Vec, #[structopt(long)] /// Connect to seed for the consensus protocol (repeatable flag) - consensus_seed: Vec, + consensus_p2p_seed: Vec, #[structopt(long)] /// P2P accept address for the syncing protocol @@ -121,11 +121,11 @@ struct Args { #[structopt(long)] /// Connect to peer for the syncing protocol (repeatable flag) - sync_peer: Vec, + sync_p2p_peer: Vec, #[structopt(long)] /// Connect to seed for the syncing protocol (repeatable flag) - sync_seed: Vec, + sync_p2p_seed: Vec, #[structopt(long)] /// Whitelisted cashier address (repeatable flag) @@ -286,8 +286,8 @@ async fn realmain(args: Args, ex: Arc>) -> Result<()> { inbound: args.sync_p2p_accept, outbound_connections: args.sync_slots, external_addr: args.sync_p2p_external, - peers: args.sync_peer.clone(), - seeds: args.sync_seed.clone(), + peers: args.sync_p2p_peer.clone(), + seeds: args.sync_p2p_seed.clone(), ..Default::default() }; @@ -323,8 +323,8 @@ async fn realmain(args: Args, ex: Arc>) -> Result<()> { inbound: args.consensus_p2p_accept, outbound_connections: args.consensus_slots, external_addr: args.consensus_p2p_external, - peers: args.consensus_peer.clone(), - seeds: args.consensus_seed.clone(), + peers: args.consensus_p2p_peer.clone(), + seeds: args.consensus_p2p_seed.clone(), ..Default::default() }; let p2p = net::P2p::new(consensus_network_settings).await; diff --git a/bin/faucetd/src/main.rs b/bin/faucetd/src/main.rs index 330a4037d..1f1084b5b 100644 --- a/bin/faucetd/src/main.rs +++ b/bin/faucetd/src/main.rs @@ -94,11 +94,11 @@ struct Args { #[structopt(long)] /// Connect to seed for the syncing protocol (repeatable flag) - sync_seed: Vec, + sync_p2p_seed: Vec, #[structopt(long)] /// Connect to peer for the syncing protocol (repeatable flag) - sync_peer: Vec, + sync_p2p_peer: Vec, #[structopt(long)] /// Whitelisted cashier address (repeatable flag) @@ -364,8 +364,8 @@ async fn realmain(args: Args, ex: Arc>) -> Result<()> { inbound: args.sync_p2p_accept, outbound_connections: args.sync_slots, external_addr: args.sync_p2p_external, - peers: args.sync_peer.clone(), - seeds: args.sync_seed.clone(), + peers: args.sync_p2p_peer.clone(), + seeds: args.sync_p2p_seed.clone(), ..Default::default() };