Skip to content

Commit

Permalink
#1870 remove unnecessary lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
olehnikolaiev committed Nov 1, 2024
1 parent 14a0c16 commit f35d714
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libbatched-io/BatchedRotatingHistoricDbIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ void BatchedRotatingHistoricDbIO::rotate( uint64_t blockNumber ) {
std::lock_guard< std::mutex > lock( mutex );
assert( blockNumber > blockNumbers.back() );

auto storageUsed = currentPiece()->lookup( dev::db::Slice( "storageUsed" ) );
currentPiece()->kill( dev::db::Slice( "storageUsed" ) );

// move current to used
Expand Down

0 comments on commit f35d714

Please sign in to comment.