Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
1kresh committed Aug 14, 2024
1 parent 5c2fbb2 commit 00b44ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/contracts/delegator/BaseDelegator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ contract BaseDelegator is Entity, StaticDelegateCallable, AccessControlUpgradeab
bytes memory calldata_ = abi.encodeWithSelector(
IDelegatorHook.onSlash.selector, subnetwork, operator, slashedAmount, captureTimestamp, data
);
/// @solidity memory-safe-assembly
assembly {
assembly ("memory-safe") {
pop(call(250000, hook_, 0, add(calldata_, 0x20), mload(calldata_), 0, 0))
}
}
Expand Down

0 comments on commit 00b44ef

Please sign in to comment.