From 9c684d8621106ae42b7cdedbb189f1942aac5774 Mon Sep 17 00:00:00 2001 From: aazhou1 Date: Wed, 20 Nov 2024 20:31:26 -0500 Subject: [PATCH] new governor is always zero emit --- src/Strategy.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Strategy.sol b/src/Strategy.sol index e77682bd..6364ab43 100644 --- a/src/Strategy.sol +++ b/src/Strategy.sol @@ -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); } /**