Skip to content

Commit

Permalink
fixing metadata removal
Browse files Browse the repository at this point in the history
  • Loading branch information
Honza committed Oct 17, 2024
1 parent 1537717 commit 9d01497
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pallets/subspace/src/module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,6 @@ impl<T: Config> Pallet<T> {
Address::<T>::remove(netuid, replace_uid);

// HANDLE THE METADATA
Metadata::<T>::insert(
netuid,
&module_key,
Metadata::<T>::get(netuid, &replace_key).unwrap_or_default(),
);
Metadata::<T>::remove(netuid, &replace_key);

// HANDLE THE NAMES
Expand Down

0 comments on commit 9d01497

Please sign in to comment.