Merge #9624: [Trivial] fix logging typo in FlushStateToDisk()

ac9a846 [Trivial] fix logging typo in FlushStateToDisk() (John Newbery)
This commit is contained in:
Jonas Schnelli 2017-01-24 21:16:27 +01:00
commit b68f898efa
No known key found for this signature in database
GPG key ID: 29D4BCB6416F53EC

View file

@ -2061,7 +2061,7 @@ bool static FlushStateToDisk(CValidationState &state, FlushStateMode mode, int n
setDirtyBlockIndex.erase(it++); setDirtyBlockIndex.erase(it++);
} }
if (!pblocktree->WriteBatchSync(vFiles, nLastBlockFile, vBlocks)) { if (!pblocktree->WriteBatchSync(vFiles, nLastBlockFile, vBlocks)) {
return AbortNode(state, "Files to write to block index database"); return AbortNode(state, "Failed to write to block index database");
} }
} }
// Finally remove any pruned files // Finally remove any pruned files