diff --git a/eth/protocols/eth/broadcast.go b/eth/protocols/eth/broadcast.go index eb51b1aab9..2dff4e3b5e 100644 --- a/eth/protocols/eth/broadcast.go +++ b/eth/protocols/eth/broadcast.go @@ -143,12 +143,8 @@ func (p *Peer) announceTransactions() { pendingSizes = append(pendingSizes, uint32(meta.Size)) } 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 var remaining []common.Hash