Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
chore: remove network contacts from peer acquisition
Browse files Browse the repository at this point in the history
The use of this feature caused the node manager to return a peer list from the default network
contacts file that is uploaded to S3, which doesn't really make sense for the node manager.

Now, if no `--peer` argument is supplied, the node manager will handle an error from the peer
acquisition crate by using an `unwrap_or` and return an empty peer list. This supports a genesis
node scenario where no peers should be supplied.
  • Loading branch information
jacderida committed Dec 13, 2023
1 parent 4fe72a1 commit 0ba0203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
service-manager = "0.5.1"
sn_node_rpc_client = "0.1.43"
sn_peers_acquisition = { version = "0.1.10", features = ["network-contacts"] }
sn_peers_acquisition = "0.1.10"
sn-releases = "0.1.4"
sysinfo = "0.29.10"
tokio = { version = "1.26", features = ["full"] }
Expand Down

0 comments on commit 0ba0203

Please sign in to comment.