Block queue clear now clears everything

This commit is contained in:
arkpar 2016-02-06 00:03:16 +01:00
parent 00b781fb2e
commit 2163d8d597

View File

@ -205,6 +205,8 @@ impl BlockQueue {
let mut verification = self.verification.lock().unwrap();
verification.unverified.clear();
verification.verifying.clear();
verification.verified.clear();
self.processing.write().unwrap().clear();
}
/// Wait for queue to be empty