aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2016-09-15 12:40:09 +0200
committerLuke Dashjr <luke-jr+git@utopios.org>2016-09-21 02:43:47 +0000
commit084cae9ca57a263d7b768b2854614bc9a2c26a28 (patch)
tree36ebe762428fd25fd00bec4e3e6baf7a6b540a49
parente34374e252b2545eb510d26b752c5d00bba1f2f6 (diff)
downloadbitcoin-084cae9ca57a263d7b768b2854614bc9a2c26a28.tar.xz
UndoReadFromDisk works on undo files (rev), not on block files.
Github-Pull: #8737 Rebased-From: b4fb51271905f9ef39e5c2bc7e8c15e7489394a1
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 8d8fb1502d..82f9e147ee 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2073,7 +2073,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;