Skip to content

Commit

Permalink
fix: wordIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
detectivekim committed Oct 31, 2023
1 parent 66874d9 commit 1de7551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/MinBitMap.sol
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ library MinBitMap {
word = core.bitmapMapping[wordIndex];
core.bitmapMapping[wordIndex] = word & (~mask);
if (mask == word) {
mask = 1 << (rootWordIndex >> 16);
mask = 1 << (~wordIndex);
core.bitmap = core.bitmap & (~mask);
}
}
Expand Down

0 comments on commit 1de7551

Please sign in to comment.