Fixed losing queued blocks on ancient block error (#1453)

This commit is contained in:
Arkadiy Paronyan 2016-06-27 15:59:45 +02:00 committed by arkpar
parent 2e99bfafc8
commit 33dfb819f0

View File

@ -296,7 +296,7 @@ impl<V> Client<V> where V: Verifier {
let closed_block = self.check_and_close_block(&block);
if let Err(_) = closed_block {
invalid_blocks.insert(header.hash());
break;
continue;
}
imported_blocks.push(header.hash());