Skip to content

Commit

Permalink
Update BaseHook.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
sechra authored Jan 11, 2025
1 parent 44ecd16 commit 9beed20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/hooks/BaseHook.sol
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ abstract contract BaseHook is IHooks, SafeCallback {
if (returnData.length == 0) revert LockFailure();
// if the call failed, bubble up the reason
assembly ("memory-safe") {
revert(add(returnData, 32), mload(returnData))
revert(add(returnData, 34), mload(returnData))
}
}

Expand Down

0 comments on commit 9beed20

Please sign in to comment.