Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid magic numbers (Ether address) #3

Open
ryu9827 opened this issue Jul 23, 2019 · 0 comments
Open

Avoid magic numbers (Ether address) #3

ryu9827 opened this issue Jul 23, 2019 · 0 comments

Comments

@ryu9827
Copy link

ryu9827 commented Jul 23, 2019

if (token == 0x000000000000000000000000000000000000bEEF){

Multisended(msg.value, 0x000000000000000000000000000000000000bEEF);

Suggest replace the address 0x000000000000000000000000000000000000bEEF with a constant variable. It improves readability and maintainability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant