mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
Merge #9587: Do not shadow local variable named tx
.
44f2baa
Do not shadow local variable named `tx`. (Pavel Janík)
This commit is contained in:
commit
10dc58a2aa
1 changed files with 2 additions and 2 deletions
|
@ -1877,8 +1877,8 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const CTransactionRef& tx : lRemovedTxn)
|
for (const CTransactionRef& removedTx : lRemovedTxn)
|
||||||
AddToCompactExtraTransactions(tx);
|
AddToCompactExtraTransactions(removedTx);
|
||||||
|
|
||||||
int nDoS = 0;
|
int nDoS = 0;
|
||||||
if (state.IsInvalid(nDoS))
|
if (state.IsInvalid(nDoS))
|
||||||
|
|
Loading…
Reference in a new issue