diff --git a/src/validation.cpp b/src/validation.cpp index 44bde6a2ab..be413f3af9 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -4130,7 +4130,7 @@ bool ChainstateManager::AcceptBlock(const std::shared_ptr<const CBlock>& pblock, CBlockIndex *pindexDummy = nullptr; CBlockIndex *&pindex = ppindex ? *ppindex : pindexDummy; - bool accepted_header{AcceptBlockHeader(block, state, &pindex, min_pow_checked, block.IsProofOfStake())}; + bool accepted_header{AcceptBlockHeader(block, state, &pindex, min_pow_checked)}; CheckBlockIndex(); if (!accepted_header)