Do not shadow local variables

This commit is contained in:
Pavel Janík
2016-06-07 21:22:48 +02:00
parent 79004d4ae6
commit c2715d3ab8
4 changed files with 8 additions and 8 deletions

View File

@@ -37,8 +37,8 @@ BOOST_AUTO_TEST_CASE(pmt_test1)
seed_insecure_rand(false);
static const unsigned int nTxCounts[] = {1, 4, 7, 17, 56, 100, 127, 256, 312, 513, 1000, 4095};
for (int n = 0; n < 12; n++) {
unsigned int nTx = nTxCounts[n];
for (int i = 0; i < 12; i++) {
unsigned int nTx = nTxCounts[i];
// build a block with some dummy transactions
CBlock block;