Browse Source

test: Fix warning about integer signedness in P2SH tests

tags/v0.15.1
Wladimir J. van der Laan 7 years ago
parent
commit
3faf1f8294
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/test/script_P2SH_tests.cpp

+ 1
- 1
src/test/script_P2SH_tests.cpp View File

@@ -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…
Cancel
Save