aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.cpp
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2017-01-19 20:39:03 +0100
committerPavel Janík <Pavel@Janik.cz>2017-01-20 10:55:47 +0100
commit44f2baac486688dd499611f77a0cf73276758bf9 (patch)
tree5d0e9df6df919a2750328a09349a0fdb52dc6149 /src/net_processing.cpp
parent82274c02ed2d82537dc55f008a29edb1bc09bbc4 (diff)
Do not shadow local variable named `tx`.
Diffstat (limited to 'src/net_processing.cpp')
-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))