hats-finance / Fenix-Finance-0x83dbe5aa378f3ce160ed084daf85f621289fb92f

0 stars 0 forks source link

Unused mapping #33

Open hats-bug-reporter[bot] opened 4 months ago

hats-bug-reporter[bot] commented 4 months ago

Github username: @Rotcivegaf Twitter username: rotcivegaf Submission hash (on-chain): 0xd248fe4d42cf3aa3ee8365b4778d69a18d583882b3e22a6dc2741addb526b06c Severity: low

Description: Line:

Description:

The mapping userRewardPerTokenPaid is declared in the /contracts/bribes/BribeUpgradeable.sol contract but is never used, this may lead to confusion as the mapping is public.

Recommended Mitigation Steps:

Remove the userRewardPerTokenPaid mapping of the /contracts/bribes/BribeUpgradeable.sol contract

BohdanHrytsak commented 4 months ago

Thank you for the submission.

This issue is inherited from Chronos/Thena and is part of the OOS