Skip to content

Commit

Permalink
feat: update rewards params to update new reward parameters (#3433)
Browse files Browse the repository at this point in the history
  • Loading branch information
snobbee authored Dec 4, 2023
1 parent ee20587 commit b4760fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x/clp/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ func (k msgServer) UpdateRewardsParams(goCtx context.Context, msg *types.MsgUpda
params := k.GetRewardsParams(ctx)
params.LiquidityRemovalLockPeriod = msg.LiquidityRemovalLockPeriod
params.LiquidityRemovalCancelPeriod = msg.LiquidityRemovalCancelPeriod
params.RewardsDistribute = msg.RewardsDistribute
params.RewardsEpochIdentifier = msg.RewardsEpochIdentifier
params.RewardsLockPeriod = msg.RewardsLockPeriod
k.SetRewardParams(ctx, params)
return response, err
}
Expand Down

0 comments on commit b4760fc

Please sign in to comment.