Skip to content

Commit 2b3f925

Browse files
committed
merge bitcoin#26624: Rename local variable to distinguish it from type alias
1 parent 3a58533 commit 2b3f925

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
@@ -2760,9 +2760,9 @@ void PeerManagerImpl::ProcessGetData(CNode& pfrom, Peer& peer, const std::atomic
27602760
std::vector<uint256> parent_ids_to_add;
27612761
{
27622762
LOCK(m_mempool.cs);
2763-
auto txiter = m_mempool.GetIter(tx->GetHash());
2764-
if (txiter) {
2765-
const CTxMemPoolEntry::Parents& parents = (*txiter)->GetMemPoolParentsConst();
2763+
auto tx_iter = m_mempool.GetIter(tx->GetHash());
2764+
if (tx_iter) {
2765+
const CTxMemPoolEntry::Parents& parents = (*tx_iter)->GetMemPoolParentsConst();
27662766
parent_ids_to_add.reserve(parents.size());
27672767
for (const CTxMemPoolEntry& parent : parents) {
27682768
if (parent.GetTime() > now - UNCONDITIONAL_RELAY_DELAY) {

0 commit comments

Comments
 (0)