Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
JustNothing
· 9y ago · 0 comments
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?.
Comments
[–]
justinfrankel
9y ago
yeah, it's completely broken. which normally you would fix, but oh look too late!
[–]
ym705
9y ago
Thanks for your comment and it's fixed thanks to a hard fork ;)
[–]
justinfrankel
9y ago
right on, the tutorial was interesting (even for someone with little interest in all things blockchain :)