Commit 7050b73a by Francisco Giordano

fix use of msg.sender in example

parent 2b9dc9ae
......@@ -19,7 +19,7 @@ contract SimpleToken is Initializable, ERC20, ERC20Detailed {
*/
function initialize(address sender) public initializer {
ERC20Detailed.initialize("SimpleToken", "SIM", DECIMALS);
_mint(msg.sender, INITIAL_SUPPLY);
_mint(sender, INITIAL_SUPPLY);
}
uint256[50] private ______gap;
......
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