Fixed losing queued blocks on ancient block error (#1453)
This commit is contained in:
parent
6b51dffca0
commit
6859152c21
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user