hats-finance / Palmera-0x5fee7541ddcd51ba9f4af606f87b2c42eea655be

Palmera hierarchical module
0 stars 1 forks source link

`public` functions not used internally could be marked `external` #74

Open hats-bug-reporter[bot] opened 3 days ago

hats-bug-reporter[bot] commented 3 days ago

Github username: @mhhacker111 Twitter username: -- Submission hash (on-chain): 0x4941b8b6293b399707ae0b3069d8bb6ae4e79924737bf94147de55c67e06eccd Severity: low

Description: Instead of marking a function as public, consider marking it as external if it is not used internally.

- Found in src/PalmeraRoles.sol [Line: 244](src/PalmeraRoles.sol#L244) ```solidity function setUserRole(address user, uint8 role, bool enabled) ```
0xRizwan commented 3 days ago

Its informational issue with no impact.