Skip to content

Commit 10dc58a

Browse files
committed
Merge #9587: Do not shadow local variable named tx.
44f2baa Do not shadow local variable named `tx`. (Pavel Janík)
2 parents 07421cf + 44f2baa commit 10dc58a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/net_processing.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1877,8 +1877,8 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
18771877
}
18781878
}
18791879

1880-
for (const CTransactionRef& tx : lRemovedTxn)
1881-
AddToCompactExtraTransactions(tx);
1880+
for (const CTransactionRef& removedTx : lRemovedTxn)
1881+
AddToCompactExtraTransactions(removedTx);
18821882

18831883
int nDoS = 0;
18841884
if (state.IsInvalid(nDoS))

0 commit comments

Comments
 (0)