[Executor] minor fix (#1246)
This commit is contained in:
parent
3e762aa985
commit
82cd11cc77
|
@ -152,7 +152,8 @@ contract Executor {
|
|||
gi.module = PythGovernanceInstructions.GovernanceModule(modNumber);
|
||||
index += 1;
|
||||
|
||||
if (gi.module != MODULE) revert PythErrors.InvalidGovernanceTarget();
|
||||
if (gi.module != MODULE)
|
||||
revert ExecutorErrors.InvalidGovernanceTarget();
|
||||
|
||||
uint8 actionNumber = encodedInstruction.toUint8(index);
|
||||
gi.action = ExecutorAction(actionNumber);
|
||||
|
|
Loading…
Reference in New Issue