Skip to content

Commit

Permalink
Remove role check in the logMetadata (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
karim-en authored Dec 29, 2024
1 parent 3bf06d5 commit 93f4c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evm/src/omni-bridge/contracts/OmniBridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ contract OmniBridge is

function logMetadata(
address tokenAddress
) external onlyRole(DEFAULT_ADMIN_ROLE) {
) external {
string memory name = IERC20Metadata(tokenAddress).name();
string memory symbol = IERC20Metadata(tokenAddress).symbol();
uint8 decimals = IERC20Metadata(tokenAddress).decimals();
Expand Down

0 comments on commit 93f4c8c

Please sign in to comment.