Browse Source

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

44f2baa Do not shadow local variable named `tx`. (Pavel Janík)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
10dc58a2aa
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 4
      src/net_processing.cpp

4
src/net_processing.cpp

@ -1877,8 +1877,8 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
} }
} }
for (const CTransactionRef& tx : lRemovedTxn) for (const CTransactionRef& removedTx : lRemovedTxn)
AddToCompactExtraTransactions(tx); AddToCompactExtraTransactions(removedTx);
int nDoS = 0; int nDoS = 0;
if (state.IsInvalid(nDoS)) if (state.IsInvalid(nDoS))

Loading…
Cancel
Save