The 6-3 decision declared that such restrictions do not violate First Amendment rights, as money is property; it is not speech.
There was a court decision that the restriction did not violate the First Amendment.