message: validation: Use *this in CChainState::ActivateBestChainStep
diff: @@ -2563,6 +2563,7 @@ bool CChainState::ActivateBestChainStep(BlockValidationState& state, const CChai
  {
  AssertLockHeld(cs_main);
  AssertLockHeld(m_mempool.cs);
  + assert(std::addressof(::ChainstateActive()) == std::addressof(*this));
  const CBlockIndex* pindexOldTip = m_chain.Tip();
  const CBlockIndex* pindexFork = m_chain.FindFork(pindexMostWork);
  @@ -2574,7 +2575,7 @@ bool CChainState::ActivateBestChainStep(BlockValidationState& state, const CChai
  if (!DisconnectTip(state, chainparams, &disconnectpool)) {
  // This is likely a fatal error, but keep the mempool consistent,
  // just in case. Only remove from the mempool in this case.
  - UpdateMempoolForReorg(::ChainstateActive(), m_mempool, disconnectpool, false);
  + UpdateMempoolForReorg(*this, m_mempool, disconnectpool, false);
  // If we're unable to disconnect a block during normal operation,
  // then that is a failure of our local system -- we should abort
  @@ -2618,7 +2619,7 @@ bool CChainState::ActivateBestChainStep(BlockValidationState& state, const CChai
  // A system error occurred (disk space, database error, ...).
  // Make the mempool consistent with the current tip, just in case
  // any observers try to use it before shutdown.
  - UpdateMempoolForReorg(::ChainstateActive(), m_mempool, disconnectpool, false);
  + UpdateMempoolForReorg(*this, m_mempool, disconnectpool, false);
  return false;
  }
  } else {
  @@ -2635,7 +2636,7 @@ bool CChainState::ActivateBestChainStep(BlockValidationState& state, const CChai
  if (fBlocksDisconnected) {
  // If any blocks were disconnected, disconnectpool may be non empty. Add
  // any disconnected transactions back to the mempool.
  - UpdateMempoolForReorg(::ChainstateActive(), m_mempool, disconnectpool, true);
  + UpdateMempoolForReorg(*this, m_mempool, disconnectpool, true);
  }
  m_mempool.check(*this);
  