I am trying to keep track of the times a function has been called by various people such that it is executed only after a certain number of people made the same call. I tried using sha3(msg.data) however, this keeps generating different hashes with every call. I understood that msg.data contains the function call including the parameters. What am I missing here?
0 ·
Comments
If you just need the function identifier from the transaction payload, you can use "msg.sig".