Add OP_SUBSTR_LAZY

This commit is contained in:
Steven Roose 2019-01-11 18:18:24 +00:00
parent 9fea017cf6
commit 547d3a0c10
5 changed files with 29 additions and 3 deletions

View file

@ -1474,7 +1474,7 @@ BOOST_AUTO_TEST_CASE(script_HasValidOps)
BOOST_CHECK(script.HasValidOps());
script = ScriptFromHex("ff88ac"); // Script with OP_INVALIDOPCODE explicit
BOOST_CHECK(!script.HasValidOps());
script = ScriptFromHex("88acc3"); // Script with undefined opcode: one higher then MAX_OPCODE
script = ScriptFromHex("88acc4"); // Script with undefined opcode: one higher then MAX_OPCODE
BOOST_CHECK(!script.HasValidOps());
}