Test
This commit is contained in:
@@ -99,12 +99,12 @@ bool FaucetValidate(Eval* eval,const CTransaction &tx)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
preventCCvouts = 1;
|
preventCCvouts = 1;
|
||||||
if ( (assetoshis= IsFaucetvout(tx,0)) != 0 )
|
if ( IsFaucetvout(tx,0) != 0 )
|
||||||
{
|
{
|
||||||
preventCCvouts++;
|
preventCCvouts++;
|
||||||
i = 1;
|
i = 1;
|
||||||
} else i = 0;
|
} else i = 0;
|
||||||
if ( tx.vin[i].nValue != COIN )
|
if ( tx.vout[i].nValue != COIN )
|
||||||
return(false);
|
return(false);
|
||||||
return(PreventCC(eval,tx,preventCCvins,numvins,preventCCvouts,numvouts));
|
return(PreventCC(eval,tx,preventCCvins,numvins,preventCCvouts,numvouts));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user