Make Context abstract (#2229)

pull/2014/head^2
Francisco Giordano 5 years ago committed by GitHub
parent 4cbcaf35e4
commit 0c7b2ec09e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      contracts/GSN/Context.sol

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

Loading…
Cancel
Save