File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
target_chains/ethereum/contracts/contracts/pyth Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -110,12 +110,7 @@ abstract contract PythGovernance is
110110 } else if (gi.action == GovernanceAction.WithdrawFee) {
111111 withdrawFee (parseWithdrawFeePayload (gi.payload));
112112 } else if (gi.action == GovernanceAction.SetVerifierAddress) {
113- if (gi.targetChainId == 0 )
114- revert PythErrors.InvalidGovernanceTarget ();
115- setVerifierAddress (
116- parseSetVerifierAddressPayload (gi.payload),
117- encodedVM
118- );
113+ setVerifierAddress (parseSetVerifierAddressPayload (gi.payload));
119114 } else {
120115 revert PythErrors.InvalidGovernanceMessage ();
121116 }
@@ -283,8 +278,7 @@ abstract contract PythGovernance is
283278 }
284279
285280 function setVerifierAddress (
286- SetVerifierAddressPayload memory payload ,
287- bytes memory encodedVM
281+ SetVerifierAddressPayload memory payload
288282 ) internal {
289283 address oldVerifierAddress = address (verifier ());
290284 setVerifier (payload.newVerifierAddress);
You can’t perform that action at this time.
0 commit comments