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

pull/30518/head
Martin Holst Swende 2 months ago
parent bb9897f11b
commit 9274f28210
No known key found for this signature in database
GPG Key ID: 683B438C05A5DDF0
  1. 4
      core/txpool/blobpool/blobpool.go

@ -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]) {

Loading…
Cancel
Save