House Majority Leader Eric Cantor (R-Va.) said Friday afternoon that he expects the House to vote on a five-year farm bill next week.

The announcement came after a whip count of members was strong enough to give the bill a good shot at passage. A well-placed source said the bill’s sponsors were within 10 votes of the 218 needed.

“Chairman Frank Lucas and members of the Agriculture Committee have all worked very hard to produce a five-year farm bill with strong reforms, and I look forward to a full debate on the floor,” Cantor said.

The scheduling of a vote comes after weeks of uncertainty as to whether Republican opposition to the costly bill would keep it off the floor.