I took a glance at the lottery example [1] and I wonder: isn't the owner of the lottery able to change the outcome so the winningNumber is always in his favor?
[1]: https://ethereumdev.io/managing-multiple-users-a-simple-lott...
[1]: https://ethereumdev.io/managing-multiple-users-a-simple-lott...
[1]: https://ethereum.stackexchange.com/questions/191/how-can-i-s...
Also, is the last byte of the blockhash function return value guaranteed to be equidistributed?