Replace MAX_OPCODE for OP_NOP10.
commitc8e29d7ff0da853d4243c08b34c15fab3dfcc76f
authorMark Friedenbach <mark@friedenbach.org>
Tue, 11 Jul 2017 07:37:40 +0000 (11 16:37 +0900)
committerMark Friedenbach <mark@friedenbach.org>
Tue, 11 Jul 2017 07:45:42 +0000 (11 16:45 +0900)
treeba911f0b5dff03e49d7fde7e345b83df39db60c2
parent21ed30a314cf2118bd4719c6a09985f69fd25dbf
Replace MAX_OPCODE for OP_NOP10.

That OP_NOP10 is the last executable opcode is a bit of a obscure trivia, and the MAX_OPCODE constant already exists. This merely standardizes use of MAX_OPCODE over OP_NOP10 where it makes sense and is more clear.
src/core_read.cpp
src/test/data/script_tests.json