Skip to content

Commit

Permalink
improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergi Roca Laguna authored and Sergi Roca Laguna committed Feb 12, 2025
1 parent 73f9b70 commit 411ce4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/TopicIdMapping.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ contract TopicIdMapping is Ownable {
/// @notice Saves the name for a given topic
function setTopicName(
uint256 _topic,
string memory _content
string memory _name
) external onlyOwner {
topicToName[_topic] = _content;
topicToName[_topic] = _name;
}

/// @notice Returns the name for a given topic
Expand Down

0 comments on commit 411ce4f

Please sign in to comment.