HomePhabricator

Simplify IsOpcodeDisabled

Description

Simplify IsOpcodeDisabled

Summary:
Cyclomatic complexity goes from 27 to 17.

Also remove inline qualifier that is completely useless here.

Test Plan:

make check

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: teamcity

Differential Revision: https://reviews.bitcoinabc.org/D1217

Details

Provenance
deadalnixAuthored on Mar 19 2018, 09:55
deadalnixPushed on Mar 19 2018, 17:25
Reviewer
Restricted Project
Differential Revision
D1217: Simplify IsOpcodeDisabled
Parents
rSTAGINGac3347b598c3: Refactor MinimalizeBigEndianArray t be part of CScriptNum
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/3314