Skip to content

Commit 0c7b2ec

Browse files
authored
Make Context abstract (#2229)
1 parent 4cbcaf3 commit 0c7b2ec

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

contracts/GSN/Context.sol

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ pragma solidity ^0.6.0;
1010
*
1111
* This contract is only required for intermediate, library-like contracts.
1212
*/
13-
contract Context {
14-
// Empty internal constructor, to prevent people from mistakenly deploying
15-
// an instance of this contract, which should be used via inheritance.
16-
constructor () internal { }
17-
13+
abstract contract Context {
1814
function _msgSender() internal view virtual returns (address payable) {
1915
return msg.sender;
2016
}

0 commit comments

Comments
 (0)