add destroy to nodeblockstore as well

This commit is contained in:
Rostyslav Tyshko
2024-12-09 04:01:20 +01:00
parent 84c7eaf1d0
commit c8b1ce56d8
2 changed files with 11 additions and 5 deletions
+3 -3
View File
@@ -196,10 +196,10 @@ impl RocksDBIO {
let cf_block = self.block_column();
if !first {
let last_curr_block = self.get_meta_last_block_in_db()?;
let last_curr_block = self.get_meta_last_block_in_db()?;
if block.block_id > last_curr_block {
self.put_meta_last_block_in_db(block.block_id)?;
if block.block_id > last_curr_block {
self.put_meta_last_block_in_db(block.block_id)?;
}
}