We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc1631e commit 93233fcCopy full SHA for 93233fc
pallets/subtensor/src/swap/swap_coldkey.rs
@@ -50,7 +50,7 @@ impl<T: Config> Pallet<T> {
50
weight = weight.saturating_add(T::DbWeight::get().reads(1));
51
52
// 5. Swap the identity if the old coldkey has one
53
- if let Some(identity) = Identities::<T>::take(&old_coldkey) {
+ if let Some(identity) = Identities::<T>::take(old_coldkey) {
54
Identities::<T>::insert(new_coldkey, identity);
55
}
56
0 commit comments