The USA stopped using so that it could inflate it's currency not because the gold standard itself failed.