Bladeren bron

Remove Pyth Implementation implementation

Tom Pointon 3 jaren geleden
bovenliggende
commit
d5d4778a17
1 gewijzigde bestanden met toevoegingen van 0 en 9 verwijderingen
  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);
-
         _;
     }
 }