Skip to content

Commit

Permalink
Make Context abstract (#2229)
Browse files Browse the repository at this point in the history
  • Loading branch information
frangio committed May 8, 2020
1 parent 4cbcaf3 commit 0c7b2ec
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions contracts/GSN/Context.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0c7b2ec

Please sign in to comment.