Unverified Commit 0c7b2ec0 by Francisco Giordano Committed by GitHub

Make Context abstract (#2229)

parent 4cbcaf35
......@@ -10,11 +10,7 @@ pragma solidity ^0.6.0;
*
* This contract is only required for intermediate, library-like contracts.
*/
contract Context {
// Empty internal constructor, to prevent people from mistakenly deploying
// an instance of this contract, which should be used via inheritance.
constructor () internal { }
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return 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