More like he closed the loophole that allowed foreigners to trade in dollars for gold, it had been illegal for citizens to do so since the 30s. Obviously what he should have done was end the ban on citizens owning gold, but I doubt he had any idea that loophole was serving as such a strong check against inflation.