diff --git a/src/node/blockstorage.cpp b/src/node/blockstorage.cpp index c8017f1a4d..5b5d03e913 100644 --- a/src/node/blockstorage.cpp +++ b/src/node/blockstorage.cpp @@ -843,7 +843,7 @@ bool BlockManager::ReadBlockFromDisk(CBlock& block, const FlatFilePos& pos) cons // Check headers for proof-of-work blocks if (block.GetHash() != GetConsensus().hashGenesisBlock && block.IsProofOfWork()) { - if (!CheckProofOfWork(block.GetHash(), block.nBits, GetConsensus())) { + if (!CheckProofOfWork(block.GetPoWHash(), block.nBits, GetConsensus())) { return error("ReadBlockFromDisk: Errors in block header at %s", pos.ToString()); } }