diff --git a/substrate/client/db/src/lib.rs b/substrate/client/db/src/lib.rs index 1cdc68d7effc9..3fcc1935f267b 100644 --- a/substrate/client/db/src/lib.rs +++ b/substrate/client/db/src/lib.rs @@ -1709,7 +1709,6 @@ impl Backend { ); } } else if operation.create_gap && - number > best_num + One::one() && number > One::one() && self.blockchain.header(parent_hash)?.is_none() { let gap = (best_num + One::one(), number - One::one());