diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-01-26 10:14:34 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-01-26 10:15:21 +0100 |
commit | 10dc58a2aa79f0ef98ed27de6f193b9024594d54 (patch) | |
tree | 972f4c4d1b024bd41c58efe6a2ecae0939a6bbd3 | |
parent | 07421cf2a7cf78ccfacc42f2ee43b5a6f30fb7cc (diff) | |
parent | 44f2baac486688dd499611f77a0cf73276758bf9 (diff) |
Merge #9587: Do not shadow local variable named `tx`.
44f2baa Do not shadow local variable named `tx`. (Pavel JanÃk)
-rw-r--r-- | src/net_processing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 36a5257635..5027c5109c 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -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)) |