diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-07-10 10:23:09 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-07-10 10:23:11 -0400 |
commit | b05ded176466dde1cf06b21834afcc46824eabb3 (patch) | |
tree | e183ca07eb8ea2724265cbd25f458d7f74e5fb78 /src/test | |
parent | c05c93c5d8f531cf2bcf0aa2b36223635c7894b4 (diff) | |
parent | f95989b3ed864e2c2293958711da03e84e83a95e (diff) |
Merge #13565: test: Fix AreInputsStandard test to reference the proper scriptPubKey
f95989b3ed 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
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/script_p2sh_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/script_p2sh_tests.cpp b/src/test/script_p2sh_tests.cpp index 803a673fab..e224df6704 100644 --- a/src/test/script_p2sh_tests.cpp +++ b/src/test/script_p2sh_tests.cpp @@ -309,7 +309,7 @@ BOOST_AUTO_TEST_CASE(AreInputsStandard) // vout[5/6] are non-standard because they exceed MAX_P2SH_SIGOPS CScript sixteenSigops; sixteenSigops << OP_16 << OP_CHECKMULTISIG; keystore.AddCScript(sixteenSigops); - txFrom.vout[5].scriptPubKey = GetScriptForDestination(CScriptID(fifteenSigops)); + txFrom.vout[5].scriptPubKey = GetScriptForDestination(CScriptID(sixteenSigops)); txFrom.vout[5].nValue = 5000; CScript twentySigops; twentySigops << OP_CHECKMULTISIG; keystore.AddCScript(twentySigops); |