Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnReedV committed Aug 21, 2024
1 parent bc1631e commit 93233fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/subtensor/src/swap/swap_coldkey.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl<T: Config> Pallet<T> {
weight = weight.saturating_add(T::DbWeight::get().reads(1));

// 5. Swap the identity if the old coldkey has one
if let Some(identity) = Identities::<T>::take(&old_coldkey) {
if let Some(identity) = Identities::<T>::take(old_coldkey) {
Identities::<T>::insert(new_coldkey, identity);
}

Expand Down

0 comments on commit 93233fc

Please sign in to comment.