fix(indexer): current_blocks_chunk must be clear after compression

This commit is contained in:
librelois 2021-05-18 16:49:53 +02:00
parent d1830a78a5
commit 8abbee1344

View file

@ -54,7 +54,8 @@ pub fn apply_block_blocks_chunk<B: Backend>(
.map_err(|e| KvError::Custom(e.into()))?;
}
Ok(())
})
})?;
gva_db.current_blocks_chunk_write().clear()
}
/// Read and decompress bytes from file