From 8091d70a1d89d943bae7ee128bd1c95b7ec65429 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 864b92257b7b..1789367be10c 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]) {