Skip to content
Permalink
Browse files

Do not shadow local variable named `tx`.

  • Loading branch information...
paveljanik committed Jan 19, 2017
1 parent 82274c0 commit 44f2baac486688dd499611f77a0cf73276758bf9
Showing with 2 additions and 2 deletions.
  1. +2 −2 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))

0 comments on commit 44f2baa

Please sign in to comment.
You can’t perform that action at this time.