You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
The function enforceNotBlacklisted(address _addr) an internal function takes in an address but used msg.sender and did not implement the parameter that was used, this could lead to the owner passing in a blacklisted address to the function mint_pre_certificate_token(address _to) and still successfully mint to a blacklisted address.
Recommendation
The function should be readjusted to to make use of the address that was passed in the parameter as a check against blacklisted address.
The text was updated successfully, but these errors were encountered:
Description
The function enforceNotBlacklisted(address _addr) an internal function takes in an address but used msg.sender and did not implement the parameter that was used, this could lead to the owner passing in a blacklisted address to the function mint_pre_certificate_token(address _to) and still successfully mint to a blacklisted address.
Context
LibDiamond.sol SLOC 232
Recommendation
The function should be readjusted to to make use of the address that was passed in the parameter as a check against blacklisted address.
The text was updated successfully, but these errors were encountered: