Skip to content

Commit f95989b

Browse files
committed
Fix AreInputsStandard test to reference the proper scriptPubKey
This value doesn't affect the outcome of the test, because the values are properly set on line 351, but this makes the test values internally coherent.
1 parent c93c360 commit f95989b

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)