Browse Source

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)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
8bae52a9a0
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/main.cpp

2
src/main.cpp

@ -2062,7 +2062,7 @@ bool UndoReadFromDisk(CBlockUndo& blockundo, const CDiskBlockPos& pos, const uin @@ -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;

Loading…
Cancel
Save