Merge 640eb772e5 into merged_master (Bitcoin PR bitcoin/bitcoin#25064)

This commit is contained in:
James Dorfman 2024-08-13 20:52:56 +00:00
commit bfb0f5d1e1
13 changed files with 76 additions and 24 deletions

View file

@ -733,7 +733,7 @@ public:
bool testBlockValidity(BlockValidationState& state, const CChainParams& chainparams, const CBlock& block, CBlockIndex* pindexPrev, bool fCheckPOW, bool fCheckMerkleRoot) override {
LOCK(::cs_main);
Assert(m_node.chainman);
return TestBlockValidity(state, chainparams, m_node.chainman->ActiveChainstate(), block, pindexPrev, fCheckPOW, fCheckMerkleRoot);
return TestBlockValidity(state, chainparams, m_node.chainman->ActiveChainstate(), block, pindexPrev, GetAdjustedTime, fCheckPOW, fCheckMerkleRoot);
}
// end ELEMENTS
NodeContext& m_node;