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.
2 parents e8f6f6d + 115ebe3 commit 5800530Copy full SHA for 5800530
pallets/subtensor/src/registration.rs
@@ -437,9 +437,6 @@ impl<T: Config> Pallet<T> {
437
let pruning_score: u16 = Self::get_pruning_score_for_uid(netuid, neuron_uid_i);
438
let block_at_registration: u64 =
439
Self::get_neuron_block_at_registration(netuid, neuron_uid_i);
440
-
441
- // Too dangerous to remove this comparison change while enabling clippy. allow it for
442
- // now.
443
#[allow(clippy::comparison_chain)]
444
if min_score == pruning_score {
445
if current_block - block_at_registration < immunity_period {
0 commit comments