| 730 | return active.Tip(); |
| 731 | } |
| 732 | bool testBlockValidity(BlockValidationState& state, const CChainParams& chainparams, const CBlock& block, CBlockIndex* pindexPrev, bool fCheckPOW, bool fCheckMerkleRoot) override { |
| 733 | LOCK(::cs_main); |
| 734 | Assert(m_node.chainman); |
| 735 | return TestBlockValidity(state, chainparams, m_node.chainman->ActiveChainstate(), block, pindexPrev, fCheckPOW, fCheckMerkleRoot); |
| 736 | } |
| 737 | // end ELEMENTS |
| 738 | NodeContext& m_node; |
| 739 | }; |
no test coverage detected