mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 11:20:45 +00:00
eth/protocols/eth: clean up duplicate assignment
This commit is contained in:
parent
ce581fd394
commit
e20246b2aa
1 changed files with 1 additions and 5 deletions
|
|
@ -143,12 +143,8 @@ func (p *Peer) announceTransactions() {
|
||||||
pendingSizes = append(pendingSizes, uint32(meta.Size))
|
pendingSizes = append(pendingSizes, uint32(meta.Size))
|
||||||
}
|
}
|
||||||
size += common.HashLength
|
size += common.HashLength
|
||||||
|
|
||||||
processed[count] = true
|
|
||||||
} else {
|
|
||||||
// Transaction is no longer in the pool; drop it from the queue.
|
|
||||||
processed[count] = true
|
|
||||||
}
|
}
|
||||||
|
processed[count] = true
|
||||||
}
|
}
|
||||||
// Shift and trim queue using processed map
|
// Shift and trim queue using processed map
|
||||||
var remaining []common.Hash
|
var remaining []common.Hash
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue