diff --git a/turbo/jsonrpc/eth_block.go b/turbo/jsonrpc/eth_block.go index b19a9d894c5..1e1bb36e2b8 100644 --- a/turbo/jsonrpc/eth_block.go +++ b/turbo/jsonrpc/eth_block.go @@ -93,7 +93,7 @@ func (api *APIImpl) CallBundle(ctx context.Context, txHashes []common.Hash, stat } ibs := state.New(stateReader) - parent := rawdb.ReadHeader(tx, hash, stateBlockNumber) + parent, _ := api.headerByRPCNumber(rpc.BlockNumber(stateBlockNumber), tx) if parent == nil { return nil, fmt.Errorf("block %d(%x) not found", stateBlockNumber, hash) }