diff options
| author | Ben Woosley <[email protected]> | 2018-06-28 14:41:21 -0400 |
|---|---|---|
| committer | Ben Woosley <[email protected]> | 2018-06-28 14:41:23 -0400 |
| commit | f95989b3ed864e2c2293958711da03e84e83a95e (patch) | |
| tree | acb1921b98672b750afb7217f6933288a225511d /src/test/script_p2sh_tests.cpp | |
| parent | Merge #13551: tests: Fix incorrect documentation for test case cuckoocache_hi... (diff) | |
| download | discoin-f95989b3ed864e2c2293958711da03e84e83a95e.tar.xz discoin-f95989b3ed864e2c2293958711da03e84e83a95e.zip | |
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.
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); |