2 bool FUNCNAME(CScript const& scriptSig)
5 if (!(cond = GetCryptoCondition(scriptSig)))
7 // Recurse the CC tree to find asset condition
8 auto findEval = [] (CC *cond, struct CCVisitor _) {
9 bool r = cc_typeId(cond) == CC_Eval && cond->codeLength == 1 && cond->code[0] == EVALCODE;
10 // false for a match, true for continue
13 CCVisitor visitor = {findEval, (uint8_t*)"", 0, NULL};
14 bool out =! cc_visit(cond, visitor);