A fix for miner stuck after dropped signing.
This commit is contained in:
1 parent
ef38315452
commit
5677b860e4
2 files changed
+2
-1
No files matched your search
@@ -363,6 +363,7 @@ fn find_hash(context: Arc<Mutex<Context>>, mut block: Block, running: Arc<Atomic
|
||||
if context.chain.get_height() >= block.index {
|
||||
if !full {
|
||||
info!("Blockchain changed while mining signing block, dropping work");
|
||||
running.store(false, Ordering::SeqCst);
|
||||
return None;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user