aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-09-19 16:54:13 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-09-19 16:54:17 +0200
commit8bae52a9a0d1d6023969ada59c9e083e654fd8ab (patch)
tree478448d3bbe5951b06101dd6aa3beaaff2cc4436
parentc40dd70d0da717da7c3f67075914876e2e5e8337 (diff)
parentb4fb51271905f9ef39e5c2bc7e8c15e7489394a1 (diff)
Merge #8737: Trivial: UndoReadFromDisk works on undo files (rev), not on block files.
b4fb512 UndoReadFromDisk works on undo files (rev), not on block files. (Pavel Janík)
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 593897f516..10cb54e94b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2062,7 +2062,7 @@ bool UndoReadFromDisk(CBlockUndo& blockundo, const CDiskBlockPos& pos, const uin
// Open history file to read
CAutoFile filein(OpenUndoFile(pos, true), SER_DISK, CLIENT_VERSION);
if (filein.IsNull())
- return error("%s: OpenBlockFile failed", __func__);
+ return error("%s: OpenUndoFile failed", __func__);
// Read block
uint256 hashChecksum;