AdminControlled: use call()
pattern for transferring ether
#506
Labels
A-connector
Area: Issues that relate to the connector.
C-enhancement
Category: New feature or request
Currently,
AdminControlled
contract usestransfer()
method to transfer ether inadminSendEth()
method. Even though this method is not utilized at the moment, it's recommended to change it for the future astransfer()
gas provided might change.The suggested change is to use
.call{value:amount}("")
pattern.The text was updated successfully, but these errors were encountered: