浏览代码

Make Pyth.verifyPythVM function internal

Tom Pointon 3 年之前
父节点
当前提交
02fcec996a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
         }