aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPavel Janík <[email protected]>2016-09-15 12:40:09 +0200
committerPavel Janík <[email protected]>2016-09-15 12:40:09 +0200
commitb4fb51271905f9ef39e5c2bc7e8c15e7489394a1 (patch)
treeca5fc45eabcfd9b54a84653416264b539281450d /src/main.cpp
parentMerge #8714: [qa] gitignore: Remove unused lines (diff)
downloaddiscoin-b4fb51271905f9ef39e5c2bc7e8c15e7489394a1.tar.xz
discoin-b4fb51271905f9ef39e5c2bc7e8c15e7489394a1.zip
UndoReadFromDisk works on undo files (rev), not on block files.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 593897f51..10cb54e94 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;