U.S. economic growth accelerated in the second quarter as a pick up in consumer spending offset the drag from soft business spending on equipment, suggesting a steady momentum that could bring the Federal Reserve closer to hiking interest rates this year.

Gross domestic product expanded at a 2.3 percent annual rate, the Commerce Department said on Thursday. First-quarter GDP, previously reported to have shrunk at a 0.2 percent pace, was revised up to show it rising at a 0.6 percent rate.