Skip to content

Commit

Permalink
OZ N-16
Browse files Browse the repository at this point in the history
  • Loading branch information
dianakocsis committed Aug 30, 2024
1 parent 6fd7e1f commit 4a089f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/base/BaseActionsRouter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ abstract contract BaseActionsRouter is SafeCallback {
/// @notice function that returns address considered executer of the actions
/// @dev The other context functions, _msgData and _msgValue, are not supported by this contract
/// In many contracts this will be the address that calls the initial entry point that calls `_executeActions`
/// `msg.sender` shouldnt be used, as this will be the v4 pool manager contract that calls `unlockCallback`
/// `msg.sender` shouldn't be used, as this will be the v4 pool manager contract that calls `unlockCallback`
/// If using ReentrancyLock.sol, this function can return _getLocker()
function msgSender() public view virtual returns (address);

Expand Down
2 changes: 1 addition & 1 deletion src/libraries/CalldataDecoder.sol
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ library CalldataDecoder {

// Calculate how far `params` is into the provided bytes
let relativeOffset := sub(params.offset, _bytes.offset)
// Check that that isnt longer than the bytes themselves, or revert
// Check that that isn't longer than the bytes themselves, or revert
if lt(_bytes.length, add(params.length, relativeOffset)) {
mstore(0, SLICE_ERROR_SELECTOR)
revert(0, 0x04)
Expand Down

0 comments on commit 4a089f2

Please sign in to comment.