Skip to content
Merged
Prev Previous commit
Next Next commit
typo
  • Loading branch information
Amxx committed Jan 10, 2024
commit ea29b55d8d705c47451b6cce1a38a0f5aa0aa4ed
2 changes: 1 addition & 1 deletion contracts/utils/Base64.sol
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ library Base64 {
// - `data.length + 2` -> Round up
// - `/ 3` -> Number of 3-bytes chunks
// - `4 *` -> 4 characters for each chunk
// If padding is not enable, then the length is rounded up differently
// If padding is not enabled, then the length is rounded up differently
string memory result = new string(withPadding ? 4 * ((data.length + 2) / 3) : (4 * data.length + 2) / 3);

/// @solidity memory-safe-assembly
Expand Down