Merge pull request #365 from ethcore/ark
block_queue::clear should be more thorough
This commit is contained in:
commit
d38431beff
@ -205,6 +205,8 @@ impl BlockQueue {
|
|||||||
let mut verification = self.verification.lock().unwrap();
|
let mut verification = self.verification.lock().unwrap();
|
||||||
verification.unverified.clear();
|
verification.unverified.clear();
|
||||||
verification.verifying.clear();
|
verification.verifying.clear();
|
||||||
|
verification.verified.clear();
|
||||||
|
self.processing.write().unwrap().clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Wait for queue to be empty
|
/// Wait for queue to be empty
|
||||||
|
Loading…
Reference in New Issue
Block a user