Merge pull request #365 from ethcore/ark

block_queue::clear should be more thorough
This commit is contained in:
Gav Wood 2016-02-07 22:47:04 +01:00
commit d38431beff

View File

@ -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