File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -347,7 +347,7 @@ contract ERC2771Forwarder is EIP712, Nonces {
347347 // We can't know X after CALL dynamic costs, but we want it to be such that X * 63 / 64 >= req.gas.
348348 // Let Y be the gas used in the subcall. gasleft() measured immediately after the subcall will be gasleft() = X - Y.
349349 // If the subcall ran out of gas, then Y = X * 63 / 64 and gasleft() = X - Y = X / 64.
350- // Under this assumption req.gas / 63 > gasleft() is true is true if and only if
350+ // Under this assumption req.gas / 63 > gasleft() is true if and only if
351351 // req.gas / 63 > X / 64, or equivalently req.gas > X * 63 / 64.
352352 // This means that if the subcall runs out of gas we are able to detect that insufficient gas was passed.
353353 //
You can’t perform that action at this time.
0 commit comments