like
CScript() << ParseHex("c11863143c14c5166804bd19203356da136c985678cd4d27a1b8c6329604903262") << OP_1 << OP_DROP << OP_COLOR << OP_9 << OP_ADD << OP_11 << OP_EQUAL;
If the MatchCustomColoredScript() gets this script, it should return true but now is false.
The current implementation checks whether the script matches with the pattern 0x21 <33bytes> OP_COLOR. However, this way can't recognize cases that having opcodes that have no side effect, between <33bytes> and OP_COLOR.
like
If the
MatchCustomColoredScript()gets this script, it should return true but now is false.The current implementation checks whether the script matches with the pattern
0x21 <33bytes> OP_COLOR. However, this way can't recognize cases that having opcodes that have no side effect, between<33bytes>andOP_COLOR.