Skip to content

Commit

Permalink
Fix comment in LibString.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerPodacter committed Sep 20, 2024
1 parent 362b2ef commit efbb3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/LibString.sol
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ library LibString {

/// @dev Returns the hexadecimal representation of `value`,
/// left-padded to an input length of `length` bytes.
/// The output is prefixed with "0x" encoded using 2 hexadecimal digits per byte,
/// The output is not prefixed with "0x" and is encoded using 2 hexadecimal digits per byte,
/// giving a total length of `length * 2` bytes.
/// Reverts if `length` is too small for the output to contain all the digits.
function toHexStringNoPrefix(uint256 value, uint256 length)
Expand Down

0 comments on commit efbb3c9

Please sign in to comment.