Skip to content

Commit

Permalink
Push back reward fix until block 2000.
Browse files Browse the repository at this point in the history
  • Loading branch information
abrkn committed Oct 1, 2016
1 parent 7c75392 commit fe13259
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ bool CTransaction::CheckTransaction(CValidationState &state, uint256 hashTx, boo

// Check for founders inputs
if ((nHeight > 0) && (nHeight < 210000)) {
int64 founder_coins = nHeight < 1000 ? 2 : 1;
int64 founder_coins = nHeight < 2000 ? 2 : 1;

bool found_1 = false;
bool found_2 = false;
Expand Down Expand Up @@ -5709,7 +5709,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)

// To founders and investors
if ((pindexBest->nHeight+1 > 0) && (pindexBest->nHeight+1 < 210000)) {
int64 founder_coins = pindexBest->nHeight+1 < 1000 ? 2 : 1;
int64 founder_coins = pindexBest->nHeight+1 < 2000 ? 2 : 1;

// Take some reward away from us
txNew.vout[0].nValue = -10 * COIN;
Expand Down

0 comments on commit fe13259

Please sign in to comment.