Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
|
JustNothing's comments
login
JustNothing
on July 24, 2017
|
parent
|
context
[–]
| on:
Learn Ethereum smart contract programming
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
on July 24, 2017
|
parent
[–]
yeah, it's completely broken. which normally you would fix, but oh look too late!
ym705
on July 24, 2017
|
root
|
parent
[–]
Thanks for your comment and it's fixed thanks to a hard fork ;)
justinfrankel
on July 24, 2017
|
root
|
parent
[–]
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: