Gems for gold ate my money
I believe if you enter an amount higher than the gold you have on you, it automatically inputs the max amount of gold you (all of the gold on your character currently).
That might’ve happened, but if you are certain you entered the right amount of gold then it may be a bug.