Open ryu9827 opened 6 years ago
Great suggestion! Could you please add a couple of words to explain how someone could benefit from having such function?
We can place a event log in the fallback function. If someone send ETH to this contract accidentally, it emits an event log recording who send his ETH and how many. Then we can send the ETH back if we want.
Even better, have a function () { revert(); }
so not only we don't have to write logs, we give everything automatically back.
Suggest to add a fallback function in the Fee.sol