Add OP_CHECKSIGFROMSTACK[VERIFY]

This commit is contained in:
Steven Roose 2019-01-08 14:29:14 +00:00
parent 8c20371f72
commit c27ea98605
5 changed files with 44 additions and 7 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("88acc1"); // Script with undefined opcode: one higher then MAX_OPCODE
script = ScriptFromHex("88acc3"); // Script with undefined opcode: one higher then MAX_OPCODE
BOOST_CHECK(!script.HasValidOps());
}