tracyspcycakeM to cryptocurrency · 2 years agoChallenge: Can you identify what is wrong with this simple Solidity guessing game contract that makes it easy to cheat?imagemessage-square6fedilinkarrow-up18arrow-down10
arrow-up18arrow-down1imageChallenge: Can you identify what is wrong with this simple Solidity guessing game contract that makes it easy to cheat?tracyspcycakeM to cryptocurrency · 2 years agomessage-square6fedilink
minus-squaretracyspcycakeOPMlinkfedilinkarrow-up3·2 years agoBTW @cypherpunks@lemmy.ml was right. Anyone can view the contract deployment transaction and see the value of secretNumber that was passed as an argument to the constructor.
BTW @cypherpunks@lemmy.ml was right. Anyone can view the contract deployment transaction and see the value of secretNumber that was passed as an argument to the constructor.