Skip to content

Commit

Permalink
core/txpool/blobpool: revert part of ethereum#30437, return all reinj…
Browse files Browse the repository at this point in the history
…ect-addresses
  • Loading branch information
holiman authored and zfy0701 committed Dec 3, 2024
1 parent 353a8c2 commit 8091d70
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/txpool/blobpool/blobpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]) {
Expand Down

0 comments on commit 8091d70

Please sign in to comment.