A bug in the platform's code allowed the hacker to create 6 quadrillion coins