This commit is contained in:
@@ -248,13 +248,7 @@ bool TokensValidate(struct CCcontract_info *cp, Eval* eval, const CTransaction &
|
|||||||
LOGSTREAM((char *)"cctokens", CCLOG_INFO, stream << "TokensValidate funcId=" << (char)(funcid?funcid:' ') << " evalcode=" << cp->evalcode << std::endl);
|
LOGSTREAM((char *)"cctokens", CCLOG_INFO, stream << "TokensValidate funcId=" << (char)(funcid?funcid:' ') << " evalcode=" << cp->evalcode << std::endl);
|
||||||
|
|
||||||
if (eval->GetTxUnconfirmed(tokenid, createTx, hashBlock) == 0)
|
if (eval->GetTxUnconfirmed(tokenid, createTx, hashBlock) == 0)
|
||||||
//if (myGetTransaction(tokenid, createTx, hashBlock) == 0)
|
|
||||||
{
|
|
||||||
fprintf(stderr,"tokenid.%s\n",tokenid.GetHex().c_str());
|
|
||||||
fprintf(stderr,"tokenid.%s\n",tokenid.GetHex().c_str());
|
|
||||||
fprintf(stderr,"tokenid.%s\n",tokenid.GetHex().c_str());
|
|
||||||
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user