Skip to content

Commit

Permalink
UndoReadFromDisk works on undo files (rev), not on block files.
Browse files Browse the repository at this point in the history
Github-Pull: #8737
Rebased-From: b4fb51271905f9ef39e5c2bc7e8c15e7489394a1
  • Loading branch information
paveljanik authored and luke-jr committed Sep 21, 2016
1 parent e34374e commit 084cae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 084cae9

Please sign in to comment.