HomePhabricator

Add test case for GetTransactionSigOpCount without the P2SH flags passed in.

Description

Add test case for GetTransactionSigOpCount without the P2SH flags passed in.

Summary:
This is an untested code path.

Depends on D1595

Test Plan:

make check

Modify GetTransactionSigOpCount to always count P3SH sigops, make sure the test fails.

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: teamcity

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

Details

Provenance
deadalnixAuthored on Jul 25 2018, 16:23
deadalnixPushed on Jul 25 2018, 21:06
Reviewer
Restricted Project
Differential Revision
D1596: Add test case for GetTransactionSigOpCount without the P2SH flags passed in.
Parents
rSTAGING9bb5290f6289: Various nits in sigopcount_tests.cpp and script_P2SH_tests.cpp
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/4424