This commit is contained in:
jl777
2018-07-23 02:49:17 -11:00
parent 2c2ab06909
commit f3b0a3885a

View File

@@ -99,12 +99,12 @@ bool FaucetValidate(Eval* eval,const CTransaction &tx)
else
{
preventCCvouts = 1;
if ( (assetoshis= IsFaucetvout(tx,0)) != 0 )
if ( IsFaucetvout(tx,0) != 0 )
{
preventCCvouts++;
i = 1;
} else i = 0;
if ( tx.vin[i].nValue != COIN )
if ( tx.vout[i].nValue != COIN )
return(false);
return(PreventCC(eval,tx,preventCCvins,numvins,preventCCvouts,numvouts));
}