Skip to content

Commit aee8665

Browse files
fix(db): the operation of putting byte[0] should be reserved instead of deleting
1 parent 0d39815 commit aee8665

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

framework/src/main/java/org/tron/tool/litefullnode/LiteFullNodeTool.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ private void recover(DBInterface db, String destDir, List<String> destDbs)
232232
if (realValue != null) {
233233
destDb.put(realKey, realValue);
234234
} else {
235-
destDb.delete(realKey);
236235
byte op = value[0];
237236
if (Value.Operator.DELETE.getValue() == op) {
238237
destDb.delete(realKey);

0 commit comments

Comments
 (0)