-
Notifications
You must be signed in to change notification settings - Fork 20
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
Even better testing #129
Conversation
harbor-client/src/lib.rs
Outdated
#[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"))] |
There was a problem hiding this comment.
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
harbor-client/src/fedimint_client.rs
Outdated
#[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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
followup to #128
also added an auto unlock if there's a password supplied