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 Gav Wood
parent 6b51dffca0
commit 6859152c21

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());