From b4f91e65131d18cf1384b21a09e4e94a403d6654 Mon Sep 17 00:00:00 2001 From: Kyrylo Stepanov Date: Thu, 5 Sep 2024 13:05:20 +0300 Subject: [PATCH] update comment --- .../mpl-staking/src/instructions/penalties/decrease_rewards.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/mpl-staking/src/instructions/penalties/decrease_rewards.rs b/programs/mpl-staking/src/instructions/penalties/decrease_rewards.rs index 06517c1f..2f54b2a9 100644 --- a/programs/mpl-staking/src/instructions/penalties/decrease_rewards.rs +++ b/programs/mpl-staking/src/instructions/penalties/decrease_rewards.rs @@ -3,7 +3,7 @@ use crate::cpi_instructions; use anchor_lang::prelude::*; use mplx_staking_states::{error::MplStakingError, registrar_seeds}; -/// Slashes the specified stake in transfers money to the treasury. +/// Reduces the weighted stake of the mining account wich leads to a decrease in rewards. /// /// - `decreased_weighted_stake_number`: weighted number to decrease by. /// - `mining_owner`: The owner of the mining account.