Each small state had issued its own money, meaning many different currencies existed alongside one another in Germany. While the newly constructed railways allowed people to travel quickly to a neighbouring small state, if they wanted to buy anything, they had to change their money every time they crossed the border.
Added to this, there were so many different exchange rates that it was a real hassle to keep track of them all. And this was how things stayed until currency was centralised.