sherlock-audit / 2023-04-unitasprotocol-judging

4 stars 3 forks source link

XDZIBEC - XO-Buy Fee Field Public in getPair Function #80

Closed sherlock-admin closed 1 year ago

sherlock-admin commented 1 year ago

XDZIBEC

high

XO-Buy Fee Field Public in getPair Function

Summary

Manual Review

Recommendation

-The buyFee field should be marked as private. This would prevent malicious users from calling the getPair function to get the buyFee value.