0x00000002 / staking-app

MIT License
0 stars 0 forks source link

Suggest add event log in fallback function #10

Open ryu9827 opened 6 years ago

ryu9827 commented 6 years ago

https://github.com/tikonoff/staking-app/blob/8306bb8deebe0f554e99bf4e525ea4a3f5672397/contracts/Stake.sol#L70

According to the best practice, it is always better to put a event log in fallback functions to record who sent ETH to this contract.