Fixed signers' calculation loop. Fixed block checks. Added trace logging level. Updated dependencies.

This commit is contained in:
Revertron
2022-05-12 14:50:31 +02:00
parent 84fc3e8d4a
commit 410bc9b7e4
7 changed files with 102 additions and 66 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ impl Miner {
info!("Replacing current mining job with signing job!");
// We cancel current job, waiting for threads to finish
mining.store(false, Ordering::SeqCst);
thread::sleep(Duration::from_millis(100));
sleep(Duration::from_millis(100));
// Return current job to queue
jobs.insert(0, current_job.take().unwrap());