Skip to content

Commit

Permalink
Remove 0 stake reward check
Browse files Browse the repository at this point in the history
  • Loading branch information
vaultcoin-project committed Aug 9, 2014
1 parent 18acdeb commit c173f88
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1515,14 +1515,6 @@ bool CWallet::CreateCoinStake(const CKeyStore& keystore, unsigned int nBits, int
return error("CreateCoinStake : failed to calculate coin age");

const uint64 stakeReward = GetProofOfStakeReward(nCoinAge, nBits, txNew.nTime, pIndex0->nHeight);

// If calculated staking reward is 0 we didn't have enough to stake
if (!stakeReward)
{
// printf("Not enough to stake\n");
return false;
}

nCredit += stakeReward;
}

Expand Down

0 comments on commit c173f88

Please sign in to comment.