Skip to content

Commit

Permalink
new governor is always zero emit
Browse files Browse the repository at this point in the history
  • Loading branch information
aazhou1 committed Nov 21, 2024
1 parent acbad35 commit 9c684d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Strategy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ contract Strategy is BaseStrategy, Pausable, AccessControl {
_revokeRole(GOVERNOR_ROLE, strategyState.governorAddress);
_grantRole(GOVERNOR_ROLE, pendingGovernor);
strategyState.governorAddress = pendingGovernor;
pendingGovernor = address(0);
TERM_VAULT_EVENT_EMITTER.emitNewGovernor(pendingGovernor);
pendingGovernor = address(0);
}

/**
Expand Down

0 comments on commit 9c684d8

Please sign in to comment.