diff options
| author | MarcoFalke <[email protected]> | 2018-07-10 10:23:09 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-07-10 10:23:11 -0400 |
| commit | b05ded176466dde1cf06b21834afcc46824eabb3 (patch) | |
| tree | e183ca07eb8ea2724265cbd25f458d7f74e5fb78 /src/test/script_p2sh_tests.cpp | |
| parent | Merge #13118: RPCAuth Detection in Logs (diff) | |
| parent | Fix AreInputsStandard test to reference the proper scriptPubKey (diff) | |
| download | discoin-b05ded176466dde1cf06b21834afcc46824eabb3.tar.xz discoin-b05ded176466dde1cf06b21834afcc46824eabb3.zip | |
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/script_p2sh_tests.cpp')
| -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 803a673fa..e224df670 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); |