Do not shadow local variables
This commit is contained in:
@@ -383,8 +383,8 @@ BOOST_AUTO_TEST_CASE(CreateNewBlock_validity)
|
||||
SetMockTime(0);
|
||||
mempool.clear();
|
||||
|
||||
BOOST_FOREACH(CTransaction *tx, txFirst)
|
||||
delete tx;
|
||||
BOOST_FOREACH(CTransaction *_tx, txFirst)
|
||||
delete _tx;
|
||||
|
||||
fCheckpointsEnabled = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user