diff --git a/src/cc/gamescc.cpp b/src/cc/gamescc.cpp index f5f9dfba6..cd2022231 100644 --- a/src/cc/gamescc.cpp +++ b/src/cc/gamescc.cpp @@ -1,7 +1,7 @@ CScript games_opret(uint8_t funcid,CPubKey pk) { - CScript opret; uint8_t evalcode = EVAL_CUSTOM; + CScript opret; uint8_t evalcode = EVAL_GAMES; opret << OP_RETURN << E_MARSHAL(ss << evalcode << funcid << pk); return(opret); } @@ -10,7 +10,7 @@ uint8_t games_opretdecode(CPubKey &pk,CScript scriptPubKey) { std::vector vopret; uint8_t e,f; GetOpReturnData(scriptPubKey,vopret); - if ( vopret.size() > 2 && E_UNMARSHAL(vopret,ss >> e; ss >> f; ss >> pk) != 0 && e == EVAL_CUSTOM ) + if ( vopret.size() > 2 && E_UNMARSHAL(vopret,ss >> e; ss >> f; ss >> pk) != 0 && e == EVAL_GAMES ) { return(f); }