Skip to content

Commit 3faf1f8

Browse files
committed
test: Fix warning about integer signedness in P2SH tests
1 parent 5c184cb commit 3faf1f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/script_P2SH_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ BOOST_AUTO_TEST_CASE(AreInputsStandard)
294294

295295
// vout[4] is max sigops:
296296
CScript fifteenSigops; fifteenSigops << OP_1;
297-
for (int i = 0; i < MAX_P2SH_SIGOPS; i++)
297+
for (unsigned i = 0; i < MAX_P2SH_SIGOPS; i++)
298298
fifteenSigops << key[i%3].GetPubKey();
299299
fifteenSigops << OP_15 << OP_CHECKMULTISIG;
300300
keystore.AddCScript(fifteenSigops);

0 commit comments

Comments
 (0)