diff --git a/Cargo.toml b/Cargo.toml index 2323426..b65479f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "alfis" -version = "0.4.29" +version = "0.4.30" authors = ["Revertron "] edition = "2018" build = "build.rs" diff --git a/src/miner.rs b/src/miner.rs index ff74deb..a61aef3 100644 --- a/src/miner.rs +++ b/src/miner.rs @@ -363,6 +363,7 @@ fn find_hash(context: Arc>, mut block: Block, running: Arc= block.index { if !full { info!("Blockchain changed while mining signing block, dropping work"); + running.store(false, Ordering::SeqCst); return None; } break;