Merge #9587: Do not shadow local variable named tx.

44f2baa Do not shadow local variable named `tx`. (Pavel Janík)
This commit is contained in:
Wladimir J. van der Laan 2017-01-26 10:14:34 +01:00
commit 10dc58a2aa
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

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))