Skip to content

Commit 5800530

Browse files
committed
Merge branch 'chore/clippy' of github.com:opentensor/subtensor into chore/clippy
2 parents e8f6f6d + 115ebe3 commit 5800530

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pallets/subtensor/src/registration.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,9 +437,6 @@ impl<T: Config> Pallet<T> {
437437
let pruning_score: u16 = Self::get_pruning_score_for_uid(netuid, neuron_uid_i);
438438
let block_at_registration: u64 =
439439
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.
443440
#[allow(clippy::comparison_chain)]
444441
if min_score == pruning_score {
445442
if current_block - block_at_registration < immunity_period {

0 commit comments

Comments
 (0)