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 implicit conversions in the EVMScriptPermissions contract #12

Open
Psirex opened this issue Dec 3, 2021 · 0 comments
Open

Avoid implicit conversions in the EVMScriptPermissions contract #12

Psirex opened this issue Dec 3, 2021 · 0 comments

Comments

@Psirex
Copy link
Contributor

Psirex commented Dec 3, 2021

At the method _getNextMethodId() in the EVMScriptPermissions contract used implicit bytes20 conversion to bytes24 type in bit OR operation. Better use explicit conversion to bytes24 before bit OR operation.

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

No branches or pull requests

1 participant