5 comments

[ 4.2 ms ] story [ 18.5 ms ] thread
Very useful for my way of working, hardcore with a nice lottery example, thumbs up !
What is the difference between the lottery() and manual_lottery() methods in the lottery contract?
lottery() is the final method, meaning, its what we want to be called by owner while we still have the result block available. the manual_lottery() was created for testing purposes only and its going to be removed when on production network.