diff options
| author | Pavel Janík <[email protected]> | 2017-01-19 20:39:03 +0100 |
|---|---|---|
| committer | Pavel Janík <[email protected]> | 2017-01-20 10:55:47 +0100 |
| commit | 44f2baac486688dd499611f77a0cf73276758bf9 (patch) | |
| tree | 5d0e9df6df919a2750328a09349a0fdb52dc6149 /src/net_processing.cpp | |
| parent | Merge #9535: Split CNode::cs_vSend: message processing and message sending (diff) | |
| download | discoin-44f2baac486688dd499611f77a0cf73276758bf9.tar.xz discoin-44f2baac486688dd499611f77a0cf73276758bf9.zip | |
Do not shadow local variable named `tx`.
Diffstat (limited to 'src/net_processing.cpp')
| -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 36a525763..5027c5109 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)) |