Closed ErdemOzgen closed 2 years ago
@ErdemOzgen Thanks for PR.
Here transfer
is good enough, because msg.sender
is the owner. No point in doing a re-entrancy on your on contract.
However if you think call
is better here, can you add a comment saying transfer
is also safe here?
Thanks
@t4sk Thanks for your feedback, You are absolutely right.
For good practice and coherent with other code samples. Changed 'transfer' function to 'call' function.
Link