White-Whale-Defi-Platform/white-whale-core

Change error description for NothingToClaim

Closed this issue · 0 comments

If you want to report a security issue, please follow our security policy: https://github.com/White-Whale-Defi-Platform/migaloo-core/blob/main/SECURITY.md


Improvement description

When there's nothing to claim on the fee distributor, the current error prints "There are no claimable fees.".

It makes more sense to change fees for rewards.


Additional context

Add any other context here, code snippets, json responses, screenshots and so on.

THe error is here -> white-whale-core/contracts/liquidity_hub/fee_distributor/src/error.rs:30

Code sample
Logs
Screenshots