Skip to content
RED SAGSkills
medium10 pts · first answer countssmart-contract-security

Random winners on chain

A lottery picks a winner with uint256(keccak256(abi.encode(block.prevrandao, block.timestamp))) % players.length. What is the problem?

Choose one answer