Skip to content

Commit b05ded1

Browse files
author
MarcoFalke
committed
Merge #13565: test: Fix AreInputsStandard test to reference the proper scriptPubKey
f95989b Fix AreInputsStandard test to reference the proper scriptPubKey (Ben Woosley) Pull request description: This value doesn't affect the outcome of the test, because the values are properly set on line 351 (https://github.com/bitcoin/bitcoin/pull/13565/files#diff-b7061098b41bd31ef5db043705441133R351), but this makes the test values internally coherent. Tree-SHA512: 5a5fda843475abd91f6c366315536d3573e70420d7c6abeebd74a54939d4de774c33faad4560d1fd4b2c35006224d9e7b3a8c925fe9926013586fd1f7aa886cc
2 parents c05c93c + f95989b commit b05ded1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/script_p2sh_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ BOOST_AUTO_TEST_CASE(AreInputsStandard)
309309
// vout[5/6] are non-standard because they exceed MAX_P2SH_SIGOPS
310310
CScript sixteenSigops; sixteenSigops << OP_16 << OP_CHECKMULTISIG;
311311
keystore.AddCScript(sixteenSigops);
312-
txFrom.vout[5].scriptPubKey = GetScriptForDestination(CScriptID(fifteenSigops));
312+
txFrom.vout[5].scriptPubKey = GetScriptForDestination(CScriptID(sixteenSigops));
313313
txFrom.vout[5].nValue = 5000;
314314
CScript twentySigops; twentySigops << OP_CHECKMULTISIG;
315315
keystore.AddCScript(twentySigops);

0 commit comments

Comments
 (0)