core/txpool/blobpool: use head.Time to check time window

This commit is contained in:
Felix Lange 2025-09-19 15:26:43 +02:00
parent fdc32a53ad
commit f6dc718f27

View file

@ -1481,7 +1481,7 @@ func (p *BlobPool) preCheck(txs []*types.Transaction) ([]*types.Transaction, []e
errs = append(errs, nil)
continue
}
if time.Now().After(deadline) {
if head.Time > uint64(deadline.Unix()) {
errs = append(errs, errors.New("legacy blob tx is not supported"))
continue
}