Skip to content

Commit

Permalink
remove unecessary assignment (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongeric authored Aug 2, 2024
1 parent 8dd7656 commit 22339cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reactors/PriorityOrderReactor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ contract PriorityOrderReactor is BaseReactor {
uint256 wordPos = uint248(nonce >> 8);
uint256 bit = 1 << uint8(nonce); // bitPos
uint256 bitmap = permit2.nonceBitmap(swapper, wordPos);
uint256 flipped = bitmap ^= bit;
uint256 flipped = bitmap ^ bit;

if (flipped & bit == 0) revert OrderAlreadyFilled();
}
Expand Down

0 comments on commit 22339cd

Please sign in to comment.