tracyspcy@lemmy.mlM to cryptocurrency@lemmy.ml · 1 year agoChallenge: Can you identify what is wrong with this simple Solidity guessing game contract that makes it easy to cheat?lemmy.mlimagemessage-square3fedilinkarrow-up15arrow-down10
arrow-up15arrow-down1imageChallenge: Can you identify what is wrong with this simple Solidity guessing game contract that makes it easy to cheat?lemmy.mltracyspcy@lemmy.mlM to cryptocurrency@lemmy.ml · 1 year agomessage-square3fedilink
minus-squaretracyspcy@lemmy.mlOPMlinkfedilinkarrow-up1·1 year 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.