Do not shadow local variable named tx.

This commit is contained in:
Pavel Janík committed 2017-01-20 10:55:47 +01:00
1 parent 82274c02ed
commit 44f2baac48
1 file changed
+2 -2
+2 -2
View File
@@ -1877,8 +1877,8 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
}
}
for (const CTransactionRef& tx : lRemovedTxn)
AddToCompactExtraTransactions(tx);
for (const CTransactionRef& removedTx : lRemovedTxn)
AddToCompactExtraTransactions(removedTx);
int nDoS = 0;
if (state.IsInvalid(nDoS))