Skip to content

Commit

Permalink
feat: allow owner to add a single payee
Browse files Browse the repository at this point in the history
  • Loading branch information
zugdev committed Oct 2, 2024
1 parent 58e243e commit addf9eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ contract GovernanceRewardsSplitter is Ownable {
* @param account The address of the payee to add.
* @param shares_ The number of shares owned by the payee.
*/
function addPayee(address account, uint256 shares_) private {
function addPayee(address account, uint256 shares_) public onlyOwner {
require(
account != address(0),
"GovernanceRewardsSplitter: account is the zero address"
Expand Down

0 comments on commit addf9eb

Please sign in to comment.