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

chore: remove network contacts from peer acquisition #12

Merged
merged 1 commit into from Dec 13, 2023

Conversation

jacderida
Copy link
Contributor

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.

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.
@jacderida jacderida merged commit 0ba0203 into maidsafe:main Dec 13, 2023
13 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants