This commit is contained in:
jl777
2018-07-22 03:06:53 -11:00
parent 2e482a0e68
commit ea06d536b1
5 changed files with 20 additions and 20 deletions

View File

@@ -296,7 +296,7 @@ bool AssetExactAmounts(Eval* eval,CTransaction &tx,uint256 assetid)
numvouts = tx.vout.size();
for (i=1; i<numvins; i++)
{
if ( IsEvalInput(EVAL_ASSETS,tx.vin[i].scriptSig) != 0 )
if ( IsAssetsInput(tx.vin[i].scriptSig) != 0 )
{
if ( eval->GetTxUnconfirmed(tx.vin[i].prevout.hash,vinTx,hashBlock) == 0 )
return eval->Invalid("always should find vin, but didnt");