Skip to content

Commit

Permalink
Merge pull request #114 from PaycoinFoundation/revert-93-no-compound-…
Browse files Browse the repository at this point in the history
…staking

Revert "Disable compound staking on primenodes."
  • Loading branch information
PaycoinMaster committed Jul 2, 2015
2 parents 79d016b + d4e1e00 commit faf5439
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1361,12 +1361,6 @@ bool CWallet::CreateCoinStake(const CKeyStore& keystore, unsigned int nBits, int
int64 nReserveBalance = 0;
if (mapArgs.count("-reservebalance") && !ParseMoney(mapArgs["-reservebalance"], nReserveBalance))
return error("CreateCoinStake : invalid reserve balance amount");

// Force reserve on amounts over primenode minimum to block compound staking
if(nBalance > MINIMUM_FOR_PRIMENODE && primeNodeRate > 0) {
nReserveBalance = nBalance - MINIMUM_FOR_PRIMENODE;
}

printf("Your balance is %lld and reservebalance is %lld\n", nBalance, nReserveBalance);
if (nBalance <= nReserveBalance)
return false;
Expand Down

0 comments on commit faf5439

Please sign in to comment.