Skip to content

Commit

Permalink
fix: msg.sender in delegatoinapproverupdated
Browse files Browse the repository at this point in the history
  • Loading branch information
ypatil12 committed Nov 26, 2024
1 parent ab5d313 commit f5552e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contracts/core/DelegationManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ contract DelegationManager is
*/
function _setDelegationApprover(address operator, address newDelegationApprover) internal {
_operatorDetails[operator].delegationApprover = newDelegationApprover;
emit DelegationApproverUpdated(msg.sender, newDelegationApprover);
emit DelegationApproverUpdated(operator, newDelegationApprover);
}

/**
Expand Down

0 comments on commit f5552e8

Please sign in to comment.