mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
test: Fix warning about integer signedness in P2SH tests
This commit is contained in:
parent
5c184cb850
commit
3faf1f8294
@ -294,7 +294,7 @@ BOOST_AUTO_TEST_CASE(AreInputsStandard)
|
||||
|
||||
// vout[4] is max sigops:
|
||||
CScript fifteenSigops; fifteenSigops << OP_1;
|
||||
for (int i = 0; i < MAX_P2SH_SIGOPS; i++)
|
||||
for (unsigned i = 0; i < MAX_P2SH_SIGOPS; i++)
|
||||
fifteenSigops << key[i%3].GetPubKey();
|
||||
fifteenSigops << OP_15 << OP_CHECKMULTISIG;
|
||||
keystore.AddCScript(fifteenSigops);
|
||||
|
Loading…
Reference in New Issue
Block a user