Skip to content

Conversation

@chrismaree
Copy link
Member

@chrismaree chrismaree commented Apr 13, 2022

OZ points out that using the transfer pattern, introduced in PR: #90 is not optimal as if the target of the eth needs more than 2300 gas the tx will revert. This PR changes this to use the Address.sendValue function, which uses the .call pattern under the hood to address this.

…n sending eth

Signed-off-by: chrismaree <christopher.maree@gmail.com>
@nicholaspai nicholaspai added the OZ Audit - March Resolves issue discovered in March 2022 OZ Audit label Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OZ Audit - March Resolves issue discovered in March 2022 OZ Audit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants