Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dianakocsis committed Oct 29, 2024
1 parent b96180e commit ea73362
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libraries/SafeCurrencyMetadata.sol
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ library SafeCurrencyMetadata {
}

/// @notice truncates the symbol to the MAX_SYMBOL_LENGTH
/// @dev assumes the string is already longer than MAX_SYMBOL_LENGTH (or the same)
/// @param str the symbol
/// @return the truncated symbol
function truncateSymbol(string memory str) internal pure returns (string memory) {
Expand Down

0 comments on commit ea73362

Please sign in to comment.