Remove assertion that was breaking regtest in the case that blossom activates after the halving.

This commit is contained in:
Kris Nuttycombe 2020-07-08 17:02:28 -06:00
parent 436dee90de
commit ca3f5df607
1 changed files with 0 additions and 3 deletions

View File

@ -74,9 +74,6 @@ namespace Consensus {
if (NetworkUpgradeActive(nHeight, Consensus::UPGRADE_BLOSSOM)) {
int blossomActivationHeight = vUpgrades[Consensus::UPGRADE_BLOSSOM].nActivationHeight;
// Halving(H) = 0 because Blossom activated prior to the first halving
assert(Halving(blossomActivationHeight) == 0);
return
(nPostBlossomSubsidyHalvingInterval * halvingIndex)
- (BLOSSOM_POW_TARGET_SPACING_RATIO * (blossomActivationHeight - SubsidySlowStartShift()))