Release v5.2 update before final release (#5418)
Signed-off-by: Hadrien Croubois <hadrien.croubois@gmail.com> Co-authored-by: Simka <0xsimka@gmail.com> Co-authored-by: Arr00 <13561405+arr00@users.noreply.github.com> Co-authored-by: Voronor <129545215+voronor@users.noreply.github.com> Co-authored-by: Ernesto García <ernestognw@gmail.com>
This commit is contained in:
@ -35,9 +35,9 @@ library Address {
|
||||
revert Errors.InsufficientBalance(address(this).balance, amount);
|
||||
}
|
||||
|
||||
(bool success, ) = recipient.call{value: amount}("");
|
||||
(bool success, bytes memory returndata) = recipient.call{value: amount}("");
|
||||
if (!success) {
|
||||
revert Errors.FailedCall();
|
||||
_revert(returndata);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user