Skip to content

Commit

Permalink
TermRewards Final Update
Browse files Browse the repository at this point in the history
  • Loading branch information
thesolarminer committed Jul 23, 2021
1 parent 997df7b commit aa81146
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/smartrewards/rewards.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,8 @@ void CSmartRewards::ProcessOutput(const CTransaction& tx, const CTxOut& out, uin
}

// Disable SmartRewards from locked outputs to allow payimg based on TermRewards
if (/*(nHeight > 2750000 || !tx.IsCoinBase())*/ !tx.IsCoinBase() && !out.GetLockTime() && !(rEntry->id == CSmartAddress("8JqVJ84KeHLNfUg8qBHUkk98oALCytUXLE")) ||
if (/*(nHeight > 2750000 || !tx.IsCoinBase())*/ !tx.IsCoinBase() && !out.GetLockTime() &&
!(rEntry->id == CSmartAddress("8JqVJ84KeHLNfUg8qBHUkk98oALCytUXLE")) && !(rEntry->id == CSmartAddress("8LEb7z8RhyvvotcDwhCF4vyrKA3SyTLfTj")) ||
nHeight < HF_V2_0_HEIGHT && MainNet() || nHeight < TESTNET_V2_0_HEIGHT && TestNet() ) {
rEntry->balance += out.nValue;
} else if ( !tx.IsCoinBase() && (nHeight < 2271506 || nHeight > 2281011) && !(rEntry->id == CSmartAddress("8JqVJ84KeHLNfUg8qBHUkk98oALCytUXLE")) &&
Expand Down

0 comments on commit aa81146

Please sign in to comment.