From 412f79083cd337355b5b15eb5b188166ea7c82f8 Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Mon, 19 Sep 2016 16:54:13 +0200 Subject: [PATCH] Merge #8737: Trivial: UndoReadFromDisk works on undo files (rev), not on block files. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit b4fb512 UndoReadFromDisk works on undo files (rev), not on block files. (Pavel Janík) --- src/validation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validation.cpp b/src/validation.cpp index 9b34217465..c532c1e7ff 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -1618,7 +1618,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;