@@ -552,7 +552,7 @@ bool CheckTransaction(const CTransaction& tx, CValidationState &state)
552
552
REJECT_INVALID, " vout empty" );
553
553
// Size limits
554
554
if (::GetSerializeSize (tx, SER_NETWORK, PROTOCOL_VERSION) > MAX_BLOCK_SIZE)
555
- return state.DoS (100 , error (" CTransaction:: CheckTransaction() : size limits failed" ),
555
+ return state.DoS (100 , error (" CheckTransaction() : size limits failed" ),
556
556
REJECT_INVALID, " oversize" );
557
557
558
558
// Check for negative or overflow output values
@@ -567,7 +567,7 @@ bool CheckTransaction(const CTransaction& tx, CValidationState &state)
567
567
REJECT_INVALID, " vout too large" );
568
568
nValueOut += txout.nValue ;
569
569
if (!MoneyRange (nValueOut))
570
- return state.DoS (100 , error (" CTransaction:: CheckTransaction() : txout total out of range" ),
570
+ return state.DoS (100 , error (" CheckTransaction() : txout total out of range" ),
571
571
REJECT_INVALID, " txout total too large" );
572
572
}
573
573
@@ -576,7 +576,7 @@ bool CheckTransaction(const CTransaction& tx, CValidationState &state)
576
576
BOOST_FOREACH (const CTxIn& txin, tx.vin )
577
577
{
578
578
if (vInOutPoints.count (txin.prevout ))
579
- return state.DoS (100 , error (" CTransaction:: CheckTransaction() : duplicate inputs" ),
579
+ return state.DoS (100 , error (" CheckTransaction() : duplicate inputs" ),
580
580
REJECT_INVALID, " duplicate inputs" );
581
581
vInOutPoints.insert (txin.prevout );
582
582
}
0 commit comments