The withdraw function in WithdrawFacet uses the native transfer keyword to send ETH, which is considered unsafe because of the fixed gas budget, and its functionality could be broken in some circumstances:
Consider using a low-level call to send ETH, for example, the LibAsset.transferNativeAsset function.
The text was updated successfully, but these errors were encountered:
All reactions