Skip to main content
1 vote

Why msg.value is not transferred to the owner?

This code doesn't make sense. You're trying to withdraw the amount you're sending to the contract at the time of calling the function withdraw. In other words, your money will just make a round trip, ...
Ougi's user avatar
  • 175

Only top scored, non community-wiki answers of a minimum length are eligible