Skip to content

Commit

Permalink
fix: function visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishabh Sharma committed Sep 7, 2023
1 parent 444b4f0 commit 301ca73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ contract RoyaltySplitter is
/// @dev can only be run once.
/// @param recipientAddress the wallet of the creator when the contract is deployed
/// @param _royaltyManager the address of the royalty manager contract
function initialize(address payable recipientAddress, address _royaltyManager) public initializer {
function initialize(address payable recipientAddress, address _royaltyManager) external initializer {
royaltyManager = IRoyaltyManager(_royaltyManager); // set manager before Ownable_init for _isTrustedForwarder
_setRecipient(recipientAddress);
__Ownable_init();
Expand Down

0 comments on commit 301ca73

Please sign in to comment.