Remove check for normal input

This commit is contained in:
jl777
2019-02-10 10:05:55 -11:00
parent 365c053dc5
commit 68e95fde75

View File

@@ -249,8 +249,8 @@ bool TokensValidate(struct CCcontract_info *cp, Eval* eval, const CTransaction &
if (eval->GetTxUnconfirmed(tokenid, createTx, hashBlock) == 0) if (eval->GetTxUnconfirmed(tokenid, createTx, hashBlock) == 0)
return eval->Invalid("cant find token create txid"); return eval->Invalid("cant find token create txid");
else if (IsCCInput(tx.vin[0].scriptSig) != 0) //else if (IsCCInput(tx.vin[0].scriptSig) != 0)
return eval->Invalid("illegal token vin0"); // return eval->Invalid("illegal token vin0");
else if (numvouts < 1) else if (numvouts < 1)
return eval->Invalid("no vouts"); return eval->Invalid("no vouts");
else if (funcid != 'c') else if (funcid != 'c')