Skip to content

Commit

Permalink
fix: ignore slither for withdraw eth to recipient address
Browse files Browse the repository at this point in the history
  • Loading branch information
call-by committed Jul 16, 2024
1 parent 9426325 commit be519f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/ExoCapsule.sol
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ contract ExoCapsule is ReentrancyGuardUpgradeable, ExoCapsuleStorage, IExoCapsul
return validator;
}

// slither-disable-next-line arbitrary-send-eth
function _sendETH(address recipient, uint256 amountWei) internal nonReentrant {
(bool sent,) = recipient.call{value: amountWei}("");
if (!sent) {
Expand Down

0 comments on commit be519f2

Please sign in to comment.