Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hermes address change #1130

Merged
merged 3 commits into from
Apr 12, 2024
Merged

Hermes address change #1130

merged 3 commits into from
Apr 12, 2024

Conversation

TonyGiorgio
Copy link
Contributor

No description provided.

mutiny-core/src/hermes.rs Outdated Show resolved Hide resolved
mutiny-core/src/hermes.rs Outdated Show resolved Hide resolved
@TonyGiorgio TonyGiorgio force-pushed the hermes-address-change branch 2 times, most recently from fe99456 to 3185345 Compare April 11, 2024 03:53
Copy link
Collaborator

@benthecarman benthecarman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

out with one todo, in with another

mutiny-core/src/hermes.rs Show resolved Hide resolved
mutiny-core/src/lib.rs Outdated Show resolved Hide resolved
Comment on lines +438 to +447
// make sure name is registered already
if current_address.read().await.0.is_none() {
return Ok(());
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This and the one for disable_zaps has a minor race condition if the user manages to remove/switch federation before the check call has finished. Could do rechecking until .1 is true

@TonyGiorgio
Copy link
Contributor Author

need to see if the user is enabled or disabled with zaps to know if we need to call disable-zaps on init if they do not have a federation. other wise it keeps calling it even if the server already knows that.

@TonyGiorgio TonyGiorgio force-pushed the hermes-address-change branch from affbca6 to ba2bf0f Compare April 12, 2024 04:47
@benthecarman benthecarman merged commit b5be4c6 into master Apr 12, 2024
9 checks passed
@TonyGiorgio TonyGiorgio deleted the hermes-address-change branch April 12, 2024 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants