mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Do not shadow local variables
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user