Hello moralis people
The recommended way is to use call to send ethers to the contracts but the transfer function has a re-entry control, at least that’s what they say here, why do they recommend the first one?
(bool success, ) = msg.sender.call{value: _balance}("");
require(success, "Error");
payable(msg.sender).transfer(_balance);
If it is safer to use transfer, why do you recommend the first one?