aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-01-26 10:14:34 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2017-01-26 10:15:21 +0100
commit10dc58a2aa79f0ef98ed27de6f193b9024594d54 (patch)
tree972f4c4d1b024bd41c58efe6a2ecae0939a6bbd3
parent07421cf2a7cf78ccfacc42f2ee43b5a6f30fb7cc (diff)
parent44f2baac486688dd499611f77a0cf73276758bf9 (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.cpp4
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))