bring back accidently removed whitespace

This commit is contained in:
debris 2017-10-17 10:44:05 +02:00
parent 607cc6c782
commit 0e912bca5b

View File

@ -324,7 +324,7 @@ impl JournalDB for OverlayRecentDB {
trace!(target: "journaldb", "Delete journal for time #{}.{}: {}, (canon was {}): +{} -{} entries", end_era, index, journal.id, canon_id, journal.insertions.len(), journal.deletions.len());
{
if *canon_id == journal.id {
for h in &journal.insertions {
for h in &journal.insertions {
if let Some((d, rc)) = journal_overlay.backing_overlay.raw(&to_short_key(h)) {
if rc > 0 {
canon_insertions.push((h.clone(), d)); //TODO: optimize this to avoid data copy