Skip to content

Commit 7ae3dc8

Browse files
committed
Disable Keys::remove check for trim_to_max_allowed_uids
1 parent 7e11d96 commit 7ae3dc8

File tree

1 file changed

+1
-0
lines changed
  • pallets/subtensor/src/subnets

1 file changed

+1
-0
lines changed

pallets/subtensor/src/subnets/uids.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ impl<T: Config> Pallet<T> {
193193
// Remove tao dividends for the hotkey
194194
TaoDividendsPerSubnet::<T>::remove(netuid, &hotkey);
195195
}
196+
#[allow(unknown_lints)]
196197
Keys::<T>::remove(netuid, uid);
197198
// Remove block at registration for the uid
198199
BlockAtRegistration::<T>::remove(netuid, uid);

0 commit comments

Comments
 (0)