diff --git a/Cargo.lock b/Cargo.lock index ebf11a54..d0a663bc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2772,7 +2772,7 @@ dependencies = [ [[package]] name = "ore-cli" -version = "2.0.1" +version = "2.0.2" dependencies = [ "bincode", "bs58 0.5.1", diff --git a/Cargo.toml b/Cargo.toml index a53a8221..d422a180 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ore-cli" -version = "2.0.1" +version = "2.0.2" edition = "2021" license = "Apache-2.0" description = "A command line interface for ORE cryptocurrency mining." diff --git a/src/mine.rs b/src/mine.rs index d2804408..6c283b65 100644 --- a/src/mine.rs +++ b/src/mine.rs @@ -92,9 +92,7 @@ impl Miner { } // Pin to core - if !core_affinity::set_for_current(i) { - return (0, 0, Hash::default()); - } + let _ = core_affinity::set_for_current(i); // Start hashing let timer = Instant::now();