浏览代码

Remove Pyth Implementation implementation

Tom Pointon 3 年之前
父节点
当前提交
d5d4778a17
共有 1 个文件被更改,包括 0 次插入9 次删除
  1. 0 9
      ethereum/contracts/pyth/PythImplementation.sol

+ 0 - 9
ethereum/contracts/pyth/PythImplementation.sol

@@ -11,15 +11,6 @@ import "./Pyth.sol";
 
 contract PythImplementation is Pyth {
     modifier initializer() {
-        address impl = ERC1967Upgrade._getImplementation();
-
-        require(
-            !isInitialized(impl),
-            "already initialized"
-        );
-
-        setInitialized(impl);
-
         _;
     }
 }