Remove superfluous LATEST_KEY write.
This commit is contained in:
parent
0980c7130a
commit
fd87633db6
@ -336,7 +336,6 @@ impl JournalDB {
|
|||||||
try!(batch.delete(&last));
|
try!(batch.delete(&last));
|
||||||
index += 1;
|
index += 1;
|
||||||
}
|
}
|
||||||
try!(batch.put(&LATEST_ERA_KEY, &encode(&end_era)));
|
|
||||||
trace!("JournalDB: delete journal for time #{}.{}, (canon was {})", end_era, index, canon_id);
|
trace!("JournalDB: delete journal for time #{}.{}, (canon was {})", end_era, index, canon_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user