Near-One/rainbow-bridge

AdminControlled: use `call()` pattern for transferring ether

Closed this issue · 0 comments

Currently, AdminControlled contract uses transfer() method to transfer ether in adminSendEth() method. Even though this method is not utilized at the moment, it's recommended to change it for the future as transfer() gas provided might change.
The suggested change is to use .call{value:amount}("") pattern.