diff --git a/indexer/src/blocks_chunks.rs b/indexer/src/blocks_chunks.rs index 86318af..0cfeb00 100644 --- a/indexer/src/blocks_chunks.rs +++ b/indexer/src/blocks_chunks.rs @@ -54,7 +54,8 @@ pub fn apply_block_blocks_chunk( .map_err(|e| KvError::Custom(e.into()))?; } Ok(()) - }) + })?; + gva_db.current_blocks_chunk_write().clear() } /// Read and decompress bytes from file