Skip to content

Commit

Permalink
refactor: variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
chancehudson committed Sep 18, 2024
1 parent 409bfee commit 289fd4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/lazy-imt/contracts/InternalLazyIMT.sol
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ library InternalLazyIMT {
// targetDepth = log2_floor(numberOfLeaves)
uint8 targetDepth = 1;
{
uint40 exp = 2;
while (exp < numberOfLeaves) {
exp <<= 1;
uint40 val = 2;
while (val < numberOfLeaves) {
val <<= 1;
targetDepth++;
}
}
Expand Down

0 comments on commit 289fd4d

Please sign in to comment.