Skip to content

Commit f06e95e

Browse files
committed
Fix event and logging in unstake_from_subnet
1 parent 621523a commit f06e95e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pallets/subtensor/src/staking/stake_utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -770,15 +770,15 @@ impl<T: Config> Pallet<T> {
770770
coldkey.clone(),
771771
hotkey.clone(),
772772
tao_unstaked,
773-
alpha,
773+
actual_alpha_decrease,
774774
netuid,
775775
));
776776
log::info!(
777777
"StakeRemoved( coldkey: {:?}, hotkey:{:?}, tao: {:?}, alpha:{:?}, netuid: {:?} )",
778778
coldkey.clone(),
779779
hotkey.clone(),
780780
tao_unstaked,
781-
alpha,
781+
actual_alpha_decrease,
782782
netuid
783783
);
784784

0 commit comments

Comments
 (0)