Skip to content

Commit

Permalink
Fix difference in TX criteria causing a fork - check removal may need…
Browse files Browse the repository at this point in the history
… to be bounded by 100K/200K blockheight boundary later.
  • Loading branch information
singula committed Jun 4, 2015
1 parent 808940c commit a179feb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -479,9 +479,9 @@ bool CTransaction::CheckTransaction() const
const CTxOut& txout = vout[i];
if (txout.IsEmpty() && !IsCoinBase() && !IsCoinStake())
return DoS(100, error("CTransaction::CheckTransaction() : txout empty for user transaction"));
// // cachecoin: enforce minimum output amount
// if ((!txout.IsEmpty()) && txout.nValue < MIN_TXOUT_AMOUNT)
// return DoS(100, error("CTransaction::CheckTransaction() : txout.nValue below minimum"));
// cachecoin: enforce minimum output amount
if ((!txout.IsEmpty()) && txout.nValue < MIN_TXOUT_AMOUNT)
return DoS(100, error("CTransaction::CheckTransaction() : txout.nValue below minimum"));
if (txout.nValue > MAX_MONEY)
return DoS(100, error("CTransaction::CheckTransaction() : txout.nValue too high"));
nValueOut += txout.nValue;
Expand Down

0 comments on commit a179feb

Please sign in to comment.