Skip to content

Commit

Permalink
name return for getter
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 edca35d commit 42babee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/TopicIdMapping.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ contract TopicIdMapping is Ownable {
/// @notice Returns the name for a given topic
function getTopicName(
uint256 _topic
) external view returns (string memory) {
) external view returns (string memory _name) {
return topicToName[_topic];
}
}

0 comments on commit 42babee

Please sign in to comment.