mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Activate CSV and Segwit immediately
This commit is contained in:
parent
9167fba9dc
commit
2fae0dffc5
1 changed files with 3 additions and 0 deletions
|
|
@ -164,6 +164,9 @@ public:
|
|||
|
||||
ThresholdState VersionBitsState(const CBlockIndex* pindexPrev, const Consensus::Params& params, Consensus::DeploymentPos pos, VersionBitsCache& cache)
|
||||
{
|
||||
// Just return true for rules included in Core 0.13
|
||||
if (pos == Consensus::DEPLOYMENT_SEGWIT || pos == Consensus::DEPLOYMENT_CSV)
|
||||
return THRESHOLD_ACTIVE;
|
||||
return VersionBitsConditionChecker(pos).GetStateFor(pindexPrev, params, cache.caches[pos]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue