mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 13:16:42 +00:00
core/txpool/blobpool: use head.Time to check time window
This commit is contained in:
parent
fdc32a53ad
commit
f6dc718f27
1 changed files with 1 additions and 1 deletions
|
|
@ -1481,7 +1481,7 @@ func (p *BlobPool) preCheck(txs []*types.Transaction) ([]*types.Transaction, []e
|
||||||
errs = append(errs, nil)
|
errs = append(errs, nil)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if time.Now().After(deadline) {
|
if head.Time > uint64(deadline.Unix()) {
|
||||||
errs = append(errs, errors.New("legacy blob tx is not supported"))
|
errs = append(errs, errors.New("legacy blob tx is not supported"))
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue