mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
commit
cd651ff6d1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user