Not really. The government went off the gold standard in 1914 when it began printing whatever dollars it needed. A legally fixed exchange rate, however, continued. This led to an increasing disconnect between the dollar and gold, by 1929 gold was worth about twice as many dollars as the legal exchange rate.
This is what lead to the banking collapse, as everyone suddenly realized this and rushed to exchange their dollars for gold at the official exchange rate. The runs persisted until the government suspended exchanging gold for dollars.
We see the same thing happen in modern times every time a government decides to peg its currency to a foreign currency, and then inflate it.