mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
UndoReadFromDisk works on undo files (rev), not on block files.
This commit is contained in:
parent
a82e5d8220
commit
b4fb512719
@ -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…
Reference in New Issue
Block a user