Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Fixed the indentation on the if blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
nksanthosh authored Apr 21, 2021
1 parent 91eedcf commit 45e79bf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libraries/chain_kv/include/b1/session/session.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -502,12 +502,13 @@ void session<Parent>::commit() {
updates.emplace(p.first, p.second.value);
}
}

if (deletes.size() > 0) {
ds.erase(deletes);
ds.erase(deletes);
}

if (updates.size() > 0) {
ds.write(updates);
ds.write(updates);
}

clear();
Expand Down

0 comments on commit 45e79bf

Please sign in to comment.