File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -792,7 +792,7 @@ CAmount GetBlockValue(int nHeight)
792792 return 250000 * COIN;
793793 }
794794 // Mainnet/Testnet block reward reduction schedule
795- const int nLast = isTestnet ? 648000 : Params ().GetConsensus ().vUpgrades [Consensus::UPGRADE_ZC_V2].nActivationHeight ;
795+ const int nLast = Params ().GetConsensus ().vUpgrades [Consensus::UPGRADE_ZC_V2].nActivationHeight ;
796796 if (nHeight > nLast) return 5 * COIN;
797797 if (nHeight > 648000 ) return 4.5 * COIN;
798798 if (nHeight > 604800 ) return 9 * COIN;
@@ -803,8 +803,7 @@ CAmount GetBlockValue(int nHeight)
803803 if (nHeight > 388800 ) return 31.5 * COIN;
804804 if (nHeight > 345600 ) return 36 * COIN;
805805 if (nHeight > 302400 ) return 40.5 * COIN;
806- const int nSecond = isTestnet ? 145000 : 151200 ;
807- if (nHeight > nSecond) return 45 * COIN;
806+ if (nHeight > 151200 ) return 45 * COIN;
808807 if (nHeight > 86400 ) return 225 * COIN;
809808 if (nHeight !=1 ) return 250 * COIN;
810809 // Premine for 6 masternodes at block 1
You can’t perform that action at this time.
0 commit comments