4 ms·
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 or
by JustNothing 9y ago
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?.
- justinfrankel 9y agoyeah, it's completely broken. which normally you would fix, but oh look too late!
- ym705 9y agoThanks for your comment and it's fixed thanks to a hard fork ;)
- justinfrankel 9y agoright on, the tutorial was interesting (even for someone with little interest in all things blockchain :)