Currency devaluation's effects on an economy