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 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));
} }