Revert "fix dos hole. unlimited coin possible"

This reverts commit 9ffbf7366cc6a8cebbbc3b3f287534c6bbfe25b2.