Replace MAX_OPCODE for OP_NOP10. #10792

Merged
merged 1 commit into from Jul 11, 2017

Conversation

Projects
None yet
6 participants
Contributor

maaku commented Jul 11, 2017

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.

@maaku maaku 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.
c8e29d7
Contributor

kallewoof commented Jul 11, 2017

utACK c8e29d7

Owner

sipa commented Jul 11, 2017

utACK c8e29d7. That's definitely clearer.

Owner

laanwj commented Jul 11, 2017

utACK

laanwj added the Refactoring label Jul 11, 2017

@laanwj laanwj merged commit c8e29d7 into bitcoin:master Jul 11, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@laanwj laanwj added a commit that referenced this pull request Jul 11, 2017

@laanwj laanwj Merge #10792: Replace MAX_OPCODE for OP_NOP10.
c8e29d7 Replace MAX_OPCODE for OP_NOP10. (Mark Friedenbach)

Tree-SHA512: f6a4129db24fe3feb044acaec3b94194cc4fa909de3d0a45a664b32f886a7d8ab997c9cb6ff0870c4aee66d8e038cf0453dbbb518316829d15e84da9882f3e69
badd81b
Contributor

TheBlueMatt commented Jul 11, 2017

utACK c8e29d7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment