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.
This commit is contained in:
parent
c93c360eec
commit
f95989b3ed
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ BOOST_AUTO_TEST_CASE(AreInputsStandard)
|
||||||
// vout[5/6] are non-standard because they exceed MAX_P2SH_SIGOPS
|
// vout[5/6] are non-standard because they exceed MAX_P2SH_SIGOPS
|
||||||
CScript sixteenSigops; sixteenSigops << OP_16 << OP_CHECKMULTISIG;
|
CScript sixteenSigops; sixteenSigops << OP_16 << OP_CHECKMULTISIG;
|
||||||
keystore.AddCScript(sixteenSigops);
|
keystore.AddCScript(sixteenSigops);
|
||||||
txFrom.vout[5].scriptPubKey = GetScriptForDestination(CScriptID(fifteenSigops));
|
txFrom.vout[5].scriptPubKey = GetScriptForDestination(CScriptID(sixteenSigops));
|
||||||
txFrom.vout[5].nValue = 5000;
|
txFrom.vout[5].nValue = 5000;
|
||||||
CScript twentySigops; twentySigops << OP_CHECKMULTISIG;
|
CScript twentySigops; twentySigops << OP_CHECKMULTISIG;
|
||||||
keystore.AddCScript(twentySigops);
|
keystore.AddCScript(twentySigops);
|
||||||
|
|
Loading…
Reference in a new issue