From 9e73c4b58120c17135bf269945d0f148810bf7f1 Mon Sep 17 00:00:00 2001 From: "Marco @Paladin" <88670196+marcoatpaladin@users.noreply.github.com> Date: Tue, 23 Jul 2024 06:09:13 +0200 Subject: [PATCH] Typographic error in Math.sol comment fix (#5115) --- contracts/utils/math/Math.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/utils/math/Math.sol b/contracts/utils/math/Math.sol index d5ae271339e..ff74f1358db 100644 --- a/contracts/utils/math/Math.sol +++ b/contracts/utils/math/Math.sol @@ -144,7 +144,7 @@ library Math { function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2²⁵⁶ and mod 2²⁵⁶ - 1, then use - // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 + // the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2²⁵⁶ + prod0. uint256 prod0 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product