Hacker Newsnew | past | comments | ask | show | jobs | submit | JustNothing's commentslogin

Am I misreading the code? Isn't the EndLottery function completely broken? It looks like it finds the first user who bet less than the winning number. So, in order to win you should play ASAP and bet epsilon > 0, right?.


yeah, it's completely broken. which normally you would fix, but oh look too late!


Thanks for your comment and it's fixed thanks to a hard fork ;)


right on, the tutorial was interesting (even for someone with little interest in all things blockchain :)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: