Skip to content

Commit 75ef8f0

Browse files
小白小白
authored andcommitted
fix: remove onlyOwner from initializeV2, follow OZ convention
1 parent 52314b7 commit 75ef8f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

contracts/BAP578.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ contract BAP578 is
143143
* The caller should compute _totalAgentBalances off-chain by summing all
144144
* agentStates[tokenId].balance values for existing tokens.
145145
*/
146-
function initializeV2(uint256 _totalAgentBalances) external onlyOwner reinitializer(2) {
146+
function initializeV2(uint256 _totalAgentBalances) external reinitializer(2) {
147147
totalAgentBalances = _totalAgentBalances;
148148
}
149149

0 commit comments

Comments
 (0)