Change to myGetTransaction

This commit is contained in:
jl777
2019-02-10 09:27:26 -11:00
parent cf3a8e6e9a
commit 505dc7520d
2 changed files with 7 additions and 5 deletions

View File

@@ -247,7 +247,8 @@ 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);
if (eval->GetTxUnconfirmed(tokenid, createTx, hashBlock) == 0)
//if (eval->GetTxUnconfirmed(tokenid, createTx, hashBlock) == 0)
if (myGetTransacton(tokenid, createTx, hashBlock) == 0)
return eval->Invalid("cant find token create txid");
else if (IsCCInput(tx.vin[0].scriptSig) != 0)
return eval->Invalid("illegal token vin0");