Actually, they are hurting. Because of the boycott, the number of customers for Iranian oil has shrunk. And the biggest customer saw an opportunity and is pushing around Iran to sell its oil at a big discount (China - no surprise).
Read the article above, the government isn't hurting, but the people are.
Juan Cole lays out the numbers:
http://www.juancole.com/2012/10/on-how-despite-the-currency-crisis-irans-state-revenues-are-not-collapsing.htmlHowever, things are not as bad as all that for the Iranian government, as opposed to the people. As Djavad Salehi-Esfahani explains, Iran is cushioned from the worst effects of a declining rial by the government’s ability to use its oil income to subsidize essential imports. The situation is therefore not comparable to other instances of hyperinflation where all imports had to be imported by consumers at the new, higher prices (vis-a-vis the local currency).
The Iranian government is coming off several years of magnificent oil profits. In 2004, the government earned $37 billion from its petroleum, and no one thought it was in crisis then. It could arguably go back to that level and get along just fine. But in 2005-2006 the income rose to an average of $46 billion a year. Then the oil price boom began. In 2007 and 2008, they brought in a little over $80 bn a year, each year! That is almost a doubling of their normal income earlier in the decade. In 2009-2010 the price fell a bit and Iran brought in about $70 bn. a year those two years. But 2011 saw another big run-up in oil prices, and Iran received an astounding $95 bn. last year.
The Europeans started refusing to buy Iranian petroleum as of July 1, and world supply and demand is such that in the short term, Iran may just export less oil this year. But 60% of its market is in Asia, and they are buying. The US estimates that Iran will have an oil income of $70 billion in 2012. That is par for the course in recent non-boom years, and even if it were less, it would still be above 2006 levels. 2006 levels probably wouldn’t be a hardship for the government (just as they weren’t in 2006).
There are links to the data used in the original linked article.

