Commit ad290e71 by Francisco Giordano

Use msg.sender in docs

parent 364da52a
......@@ -21,7 +21,7 @@ import "../GSN/Context.sol";
*
* ```
* function foo() public {
* require(hasRole(MY_ROLE, _msgSender()));
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
......
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