Bug in cryptocurrency platform Augur meant users could be duped into losing money