Add OP_DETERMINISTICRANDOM

This commit is contained in:
Steven Roose 2019-01-08 13:47:26 +00:00
parent 5a18be3769
commit 358a1bb494
5 changed files with 59 additions and 4 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("88acc0"); // Script with undefined opcode
script = ScriptFromHex("88acc1"); // Script with undefined opcode: one higher then MAX_OPCODE
BOOST_CHECK(!script.HasValidOps());
}