Skip to content

Commit

Permalink
🥢 Nit
Browse files Browse the repository at this point in the history
  • Loading branch information
z0r0z committed Feb 9, 2024
1 parent 8c9e89d commit fe9aa8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IE.sol
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ contract IE {
bytes memory b = bytes(s);
for (uint256 i; i != b.length; ++i) {
if (b[i] >= "0" && b[i] <= "9") {
result = result * 10 + (uint256(uint8(b[i])) - 48);
result = result * 10 + uint8(b[i]) - 48;
if (hasDecimal) {
++decimalPlaces;
if (decimalPlaces > decimals) {
Expand Down

0 comments on commit fe9aa8f

Please sign in to comment.