Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
affanv14 committed Sep 24, 2024
1 parent 059bd8d commit 7e9ef41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/x/revshare/keeper/revshare.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func (k Keeper) SetUnconditionalRevShareConfigParams(ctx sdk.Context, config typ

// Check two conditions to ensure rev shares are safe.
// 1. totalUnconditionalRevSharePpm + totalMarketMapperRevSharePpm < 100%
// 2. lowest_taker_fee + lowest_maker_fee > Highest_affiliate_rev_share * lowest_taker_fee
// 2. lowest_taker_fee + lowest_maker_fee >= Highest_affiliate_rev_share * lowest_taker_fee
func (k Keeper) ValidateRevShareSafety(
ctx sdk.Context,
unconditionalRevShareConfig types.UnconditionalRevShareConfig,
Expand Down

0 comments on commit 7e9ef41

Please sign in to comment.