Skip to content

Commit

Permalink
Update contracts/0.8.9/SepoliaDepositAdapter.sol
Browse files Browse the repository at this point in the history
Co-authored-by: Eugene Mamin <TheDZhon@gmail.com>
  • Loading branch information
vp4242 and TheDZhon authored Feb 20, 2024
1 parent 15320be commit b334ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/0.8.9/SepoliaDepositAdapter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ contract SepoliaDepositAdapter is Ownable {
}

function recoverEth() external onlyOwner {
uint balance = address(this).balance;
uint256 balance = address(this).balance;
(bool success,) = owner().call{value: balance}("");

Check warning on line 54 in contracts/0.8.9/SepoliaDepositAdapter.sol

View workflow job for this annotation

GitHub Actions / Solidity tests and linters

Avoid to use low level calls
if (!success) {
revert TransferFailed();
Expand Down

0 comments on commit b334ea4

Please sign in to comment.