From 45e79bf536f87ff3843a9acaf57e00a6bb08893b Mon Sep 17 00:00:00 2001 From: Santhosh Kumaraswamy Date: Wed, 21 Apr 2021 17:11:40 -0400 Subject: [PATCH] Fixed the indentation on the if blocks --- libraries/chain_kv/include/b1/session/session.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/chain_kv/include/b1/session/session.hpp b/libraries/chain_kv/include/b1/session/session.hpp index 3713cb95a4a..28daa30d179 100644 --- a/libraries/chain_kv/include/b1/session/session.hpp +++ b/libraries/chain_kv/include/b1/session/session.hpp @@ -502,12 +502,13 @@ void session::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();