msg.sender.balance
There's no possible reentrancy attack on that Deposit function.
Thank you very much! I'm studying about it. I imagine this is due to the fact that no rows in the function in Deposit trigger a fallback. Is this right?
The reason is that lines in that code call something on the sender
I haven't read the code, but if you are concerned about reentrancy attacks use a reentrancy guard. I think openZeppelin implements one in their contracts library
Обсуждают сегодня