core/txpool/blobpool: revert part of #30437, return all reinject-addresses

This commit is contained in:
Martin Holst Swende 2024-09-27 08:24:23 +02:00
parent bb9897f11b
commit 9274f28210
No known key found for this signature in database
GPG Key ID: 683B438C05A5DDF0
1 changed files with 1 additions and 3 deletions

View File

@ -949,9 +949,7 @@ func (p *BlobPool) reorg(oldHead, newHead *types.Header) (map[common.Address][]*
lost = append(lost, tx) 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 // Update the set that was already reincluded to track the blocks in limbo
for _, tx := range types.TxDifference(included[addr], discarded[addr]) { for _, tx := range types.TxDifference(included[addr], discarded[addr]) {