diff --git a/eth/catalyst/api.go b/eth/catalyst/api.go index 75b263bf6b..c60e8976c9 100644 --- a/eth/catalyst/api.go +++ b/eth/catalyst/api.go @@ -544,8 +544,8 @@ func (api *ConsensusAPI) GetBlobsV1(hashes []common.Hash) ([]*engine.BlobAndProo // Client software MUST return null if syncing or otherwise unable to serve // blob pool data. func (api *ConsensusAPI) GetBlobsV2(hashes []common.Hash) ([]*engine.BlobAndProofV2, error) { - head := api.eth.BlockChain().CurrentHeader() - if api.config().LatestFork(head.Time) < forks.Osaka { + ts := time.Now().Unix() + if api.config().LatestFork(uint64(ts)) < forks.Osaka { return nil, unsupportedForkErr("engine_getBlobsV2 is not available before Osaka fork") } if len(hashes) > 128 {