From 9274f28210f6743e06fc0692748cd257125ff11e Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Fri, 27 Sep 2024 08:24:23 +0200 Subject: [PATCH] core/txpool/blobpool: revert part of #30437, return all reinject-addresses --- core/txpool/blobpool/blobpool.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/txpool/blobpool/blobpool.go b/core/txpool/blobpool/blobpool.go index 864b92257b..1789367be1 100644 --- a/core/txpool/blobpool/blobpool.go +++ b/core/txpool/blobpool/blobpool.go @@ -949,9 +949,7 @@ func (p *BlobPool) reorg(oldHead, newHead *types.Header) (map[common.Address][]* lost = append(lost, tx) } } - if len(lost) > 0 { - reinject[addr] = lost - } + reinject[addr] = lost // Update the set that was already reincluded to track the blocks in limbo for _, tx := range types.TxDifference(included[addr], discarded[addr]) {