Browse Source

Make Pyth.verifyPythVM function internal

Tom Pointon 3 years ago
parent
commit
02fcec996a
1 changed files with 1 additions and 1 deletions
  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;
         }