Merge pull request #769 from dashpay/schinzelh-patch-1

Remove log spam
This commit is contained in:
Holger Schinzel 2016-05-10 07:23:00 +02:00
commit cd651ff6d1

View File

@ -803,7 +803,6 @@ bool CheckTransaction(const CTransaction& tx, CValidationState &state)
CAmount nValueOut = 0;
BOOST_FOREACH(const CTxOut& txout, tx.vout)
{
printf("%s\n", tx.ToString().c_str());
if (txout.nValue < 0)
return state.DoS(100, false, REJECT_INVALID, "bad-txns-vout-negative");
if (txout.nValue > MAX_MONEY)