feat: add AgentNodeIndexController for node listing and remove settlement_cycle field from AgentProfile logic
This commit is contained in:
@@ -15,6 +15,7 @@ final class RebateLimitValidator
|
||||
return;
|
||||
}
|
||||
|
||||
// Both $rebateRate and $profile->rebate_limit are ratios (0-1)
|
||||
$limit = (float) $profile->rebate_limit;
|
||||
if ($rebateRate > $limit) {
|
||||
throw ValidationException::withMessages([
|
||||
|
||||
Reference in New Issue
Block a user