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

refactor: remove register_with_federation_inner #4377

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

m1sterc001guy
Copy link
Contributor

Since we removed the client extension traits we no longer need to use the inner pattern here.

@m1sterc001guy m1sterc001guy requested a review from a team as a code owner February 20, 2024 19:38
}
let federation_id = self.client_ctx.get_config().global.federation_id();
self.module_api.register_gateway(&registration_info).await?;
debug!("Successfully registered gateway {gateway_id} with federation {federation_id}");
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: in the future we can use such refactors to move away from string interpolation to … whatever we call this syntax:

debug!(%gateway_id, %federation_id, "Successfully registered gateway with federation");

@justinmoon justinmoon added this pull request to the merge queue Feb 21, 2024
Merged via the queue into fedimint:master with commit d082301 Feb 21, 2024
20 checks passed
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.

None yet

3 participants