Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
ales-otf committed Oct 31, 2024
1 parent a782431 commit bb8172c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pallets/subtensor/src/rpc_info/stake_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,9 @@ impl<T: Config> Pallet<T> {
let mut stake_info_for_coldkey: Vec<StakeInfo<T>> = Vec::new();
for netuid_i in netuids.iter() {
for hotkey_i in staking_hotkeys.iter() {
let alpha: u64 =
Alpha::<T>::get((hotkey_i, coldkey_i, netuid_i));
let alpha: u64 = Alpha::<T>::get((hotkey_i, coldkey_i, netuid_i));
let emission: u64 = LastHotkeyColdkeyEmissionOnNetuid::<T>::get((
hotkey_i,
coldkey_i,
*netuid_i,
hotkey_i, coldkey_i, *netuid_i,
));
let drain: u64 = LastHotkeyEmissionDrain::<T>::get(hotkey_i);
let is_registered: bool =
Expand Down

0 comments on commit bb8172c

Please sign in to comment.