Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dmnd-client"
version = "0.3.28"
version = "0.3.29"
edition = "2021"

[lib]
Expand Down
6 changes: 2 additions & 4 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ and make that test pass."
120_000,
0,
DEFAULT_SV1_HASHPOWER,
crate::translator::downstream::diff_management::NON_LOCAL_DOWNSTREAM_MIN_DIFFICULTY,
crate::translator::NON_LOCAL_DOWNSTREAM_MIN_DIFFICULTY,
"info".to_string(),
"off".to_string(),
false,
Expand Down Expand Up @@ -723,9 +723,7 @@ and make that test pass."
.ok()
.and_then(|s| parse_downstream_min_difficulty(&s).ok())
})
.unwrap_or(
crate::translator::downstream::diff_management::NON_LOCAL_DOWNSTREAM_MIN_DIFFICULTY,
);
.unwrap_or(crate::translator::NON_LOCAL_DOWNSTREAM_MIN_DIFFICULTY);
println!("Using downstream minimum difficulty: {downstream_min_difficulty}");

let listening_addr = args.listening_addr.or(config.listening_addr).or_else(|| {
Expand Down
1 change: 1 addition & 0 deletions src/translator/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pub(crate) mod downstream;
pub(crate) use downstream::diff_management::NON_LOCAL_DOWNSTREAM_MIN_DIFFICULTY;

mod error;
mod proxy;
Expand Down
2 changes: 1 addition & 1 deletion tests/library_init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ async fn library_init_sv2_setup_connection() {
120_000,
0,
100_000_000_000_000.0,
131_072.0,
0.0,
"info".to_string(),
"off".to_string(),
false,
Expand Down
Loading