policy: Treat taproot as always active

This commit is contained in:
MarcoFalke 2021-11-15 10:56:16 +01:00
parent 15d109802a
commit fa3e0da06b
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
13 changed files with 42 additions and 58 deletions

View file

@ -713,12 +713,6 @@ public:
notifications.transactionAddedToMempool(entry.GetSharedTx(), 0 /* mempool_sequence */);
}
}
bool isTaprootActive() override
{
LOCK(::cs_main);
const CBlockIndex* tip = Assert(m_node.chainman)->ActiveChain().Tip();
return DeploymentActiveAfter(tip, Params().GetConsensus(), Consensus::DEPLOYMENT_TAPROOT);
}
NodeContext& m_node;
};
} // namespace