We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40cb106 commit a0e7d00Copy full SHA for a0e7d00
crates/database/db/src/db.rs
@@ -167,10 +167,8 @@ impl DatabaseWriteOperations for Database {
167
&self,
168
block_number: u64,
169
) -> Result<u64, DatabaseError> {
170
- self.tx_mut(
171
- move |tx| async move { tx.delete_l2_blocks_gt_block_number(block_number).await },
172
- )
173
- .await
+ self.tx_mut(move |tx| async move { tx.delete_batches_gt_block_number(block_number).await })
+ .await
174
}
175
176
async fn delete_batches_gt_batch_index(&self, batch_index: u64) -> Result<u64, DatabaseError> {
0 commit comments