Code rearrangement.
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "alfis"
|
||||
version = "0.5.3"
|
||||
version = "0.5.4"
|
||||
authors = ["Revertron <alfis@revertron.com>"]
|
||||
edition = "2018"
|
||||
build = "build.rs"
|
||||
|
||||
+2
-1
@@ -216,7 +216,8 @@ impl Miner {
|
||||
mining.store(false, Ordering::SeqCst);
|
||||
return;
|
||||
}
|
||||
match context.lock().unwrap().chain.update_sign_block_for_mining(job.block) {
|
||||
let new_block = context.lock().unwrap().chain.update_sign_block_for_mining(job.block);
|
||||
match new_block {
|
||||
None => {
|
||||
warn!("We missed block to lock");
|
||||
post(Event::MinerStopped { success: false, full: false });
|
||||
|
||||
Reference in New Issue
Block a user