From e20246b2aa8f90f1e54371fe0342109995c9a44f Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Wed, 15 Jul 2026 13:44:08 +0200 Subject: [PATCH] eth/protocols/eth: clean up duplicate assignment --- eth/protocols/eth/broadcast.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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