HomePhabricator

Make sure CScript::GetSigOpCount(CScript &) is tested when called on non P2SH…

Description

Make sure CScript::GetSigOpCount(CScript &) is tested when called on non P2SH scripts.

Summary: This codepath is not tested at the moment.

Test Plan: Added test cases.

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: teamcity

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

Details

Provenance
deadalnixAuthored on Jul 25 2018, 23:20
deadalnixPushed on Jul 26 2018, 00:09
Reviewer
Restricted Project
Differential Revision
D1599: Make sure CScript::GetSigOpCount(CScript &) is tested when called on non P2SH scripts.
Parents
rABC41d998153924: Pass flags down to GetP2SHSigOpCount and GetSigOpCountWithoutP2SH
Branches
Unknown
Tags
Unknown