Skip to content

Commit

Permalink
1.1.8.4b-Leisure Upgrade
Browse files Browse the repository at this point in the history
- Add testnet rule to help sync from block 0 without an error due to old
retired and grandfathered superblocks
  • Loading branch information
biblepay committed Jan 24, 2019
1 parent 7af3326 commit 91125e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/masternode-payments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ std::string GetTxOutScript(const CTransaction& tx1)
bool IsBlockValueValid(const CBlock& block, int nBlockHeight, CAmount blockReward, std::string &strErrorRet)
{

if (!fProd && nBlockHeight < 1999) return true; // Special case for Testnet superblocks up to block 999 - 2/19/2018
if (!fProd && nBlockHeight < 79999) return true; // Special case for Testnet superblocks up to block 999 - 1/23/2019

strErrorRet = "";
bool isBlockRewardValueMet = (block.vtx[0].GetValueOut() <= blockReward);
Expand Down

0 comments on commit 91125e1

Please sign in to comment.