Skip to content

Commit 0f6e1f4

Browse files
committed
merge bitcoin#26624: Rename local variable to distinguish it from type alias
1 parent cc73b1e commit 0f6e1f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/net_processing.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2765,9 +2765,9 @@ void PeerManagerImpl::ProcessGetData(CNode& pfrom, Peer& peer, const std::atomic
27652765
std::vector<uint256> parent_ids_to_add;
27662766
{
27672767
LOCK(m_mempool.cs);
2768-
auto txiter = m_mempool.GetIter(tx->GetHash());
2769-
if (txiter) {
2770-
const CTxMemPoolEntry::Parents& parents = (*txiter)->GetMemPoolParentsConst();
2768+
auto tx_iter = m_mempool.GetIter(tx->GetHash());
2769+
if (tx_iter) {
2770+
const CTxMemPoolEntry::Parents& parents = (*tx_iter)->GetMemPoolParentsConst();
27712771
parent_ids_to_add.reserve(parents.size());
27722772
for (const CTxMemPoolEntry& parent : parents) {
27732773
if (parent.GetTime() > now - UNCONDITIONAL_RELAY_DELAY) {

0 commit comments

Comments
 (0)