OK, that's right. And the commerce clause was invoked even though he hadn't sold or traded his grain to anyone on the basis that the grain affected commerce because he would have had to buy it if he hadn't grown it.
That's pretty much it. Basically, he was fined for the offense of attempting to be self-sufficient, and thereby not engaging in interstate commerce.