Skip to content

Commit

Permalink
Fixed minor issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sharathvemula committed Feb 7, 2023
1 parent def0630 commit 54fdfe6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion waffleClient/proxy/src/waffle_proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ void waffle_proxy::execute_batch(const std::vector<operation> &operations, std::
cache.insertIntoCache(keyAboutToGoToCache, valueAboutToGoToCache);
} else {
// Writing fake key values to DB
writeBatchKeys.push_back(storage_keys[i]);
auto fakeWriteKey = extractKey(enc_engine->decrypt(storage_keys[i]));
writeBatchKeys.push_back(enc_engine->encrypt(fakeWriteKey + "#" + to_string(realBst.getFrequency(fakeWriteKey))));
writeBatchValues.push_back(enc_engine->encrypt("fakeValue"));

}
Expand Down

0 comments on commit 54fdfe6

Please sign in to comment.