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

Even better testing #129

Merged
merged 3 commits into from
Jan 29, 2025
Merged

Even better testing #129

merged 3 commits into from
Jan 29, 2025

Conversation

futurepaul
Copy link
Contributor

followup to #128

also added an auto unlock if there's a password supplied

Comment on lines 440 to 448
#[cfg(feature = "disable-tor")]
let config = fedimint_api_client::api::net::Connector::Tcp
.download_from_invite_code(&invite_code)
.await
.map_err(|e| {
error!("Could not download federation info: {e}");
e
})?;
#[cfg(not(feature = "disable-tor"))]
Copy link
Contributor

Choose a reason for hiding this comment

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

can we have these include the debug_assertions like I did in the other one, that way for a production release we can't accidentally disable tor

Comment on lines 105 to 114
#[cfg(feature = "disable-tor")]
let config = fedimint_api_client::api::net::Connector::Tcp
.download_from_invite_code(&invite_code)
.await
.map_err(|e| {
error!("Could not download federation info: {e}");
e
})?;
#[cfg(not(feature = "disable-tor"))]
let config = fedimint_api_client::api::net::Connector::Tor
Copy link
Contributor

Choose a reason for hiding this comment

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

same here

@benthecarman benthecarman merged commit e741218 into master Jan 29, 2025
1 check passed
@benthecarman benthecarman deleted the even-better-testing branch January 29, 2025 01:11
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