Commit ce5df6ad authored by Kegan's avatar Kegan
Browse files

added comment linking how to precalculate steamid hash

parent 4e111b3f
......@@ -47,6 +47,7 @@ contract SteamToEtherSafe is Context {
return _links[hashed_eth_wallet] != 0;
}
//hash should be precalculated using: https://web3js.readthedocs.io/en/v1.2.4/web3-utils.html#soliditysha3
function LinkAccount(uint256 hashed_steamid) public {
require(!_msgSender().isContract(), "cannot link account as a contract");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment