Ver código fonte

Make Pyth.verifyPythVM function internal

Tom Pointon 3 anos atrás
pai
commit
02fcec996a
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      ethereum/contracts/pyth/Pyth.sol

+ 1 - 1
ethereum/contracts/pyth/Pyth.sol

@@ -66,7 +66,7 @@ contract Pyth is PythGetters, PythSetters {
         return info;
     }
 
-    function verifyPythVM(IWormhole.VM memory vm) public view returns (bool valid) {
+    function verifyPythVM(IWormhole.VM memory vm) private view returns (bool valid) {
         if (vm.emitterChainId != pyth2WormholeChainId()) {
             return false;
         }