[tor-commits] [fallback-scripts/main] TorClientConfig API change. Fix the problem
dgoulet at torproject.org
dgoulet at torproject.org
Wed Dec 15 16:26:11 UTC 2021
commit 78de56bdf9ceb0f4167c6613a35549976554b4b1
Author: David Goulet <dgoulet at torproject.org>
Date: Wed Dec 15 11:26:06 2021 -0500
TorClientConfig API change. Fix the problem
Signed-off-by: David Goulet <dgoulet at torproject.org>
---
src/main.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.rs b/src/main.rs
index 52d1e8c..6413139 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -95,7 +95,7 @@ fn write_header_to_file(writer: &mut BufWriter<&File>) -> Result<()> {
#[tokio::main]
async fn main() -> Result<()> {
- let config = TorClientConfig::sane_defaults()?;
+ let config = TorClientConfig::default();
let rt: TokioRuntimeHandle = tokio_crate::runtime::Handle::current().into();
println!("[+] Fetching onionoo relays...");
More information about the tor-commits
mailing list