Skip to content

Commit 191803e

Browse files
committed
chore: clippy
1 parent e2f48b1 commit 191803e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

pallets/subtensor/src/tests/children.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3514,9 +3514,6 @@ fn test_dynamic_parent_child_relationships() {
35143514
version_key
35153515
));
35163516

3517-
// Run first epoch
3518-
let hardcoded_emission: u64 = 1_000_000;
3519-
35203517
// Step blocks to allow for emission distribution
35213518
step_block(11);
35223519
step_rate_limit(&TransactionType::SetChildren, netuid);
@@ -3552,8 +3549,8 @@ fn test_dynamic_parent_child_relationships() {
35523549
let stake_child2_2: u64 =
35533550
SubtensorModule::get_inherited_for_hotkey_on_subnet(&child2, netuid);
35543551
let total_parent_stake = SubtensorModule::get_stake_for_hotkey_on_subnet(&parent, netuid);
3555-
let total_child1_stake = SubtensorModule::get_stake_for_hotkey_on_subnet(&child1, netuid);
3556-
let total_child2_stake = SubtensorModule::get_stake_for_hotkey_on_subnet(&child2, netuid);
3552+
let _total_child1_stake = SubtensorModule::get_stake_for_hotkey_on_subnet(&child1, netuid);
3553+
let _total_child2_stake = SubtensorModule::get_stake_for_hotkey_on_subnet(&child2, netuid);
35573554

35583555
log::info!("Final stakes:");
35593556
log::info!("Parent stake: {}", stake_parent_2);

0 commit comments

Comments
 (0)