Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Dare committed Aug 19, 2024
1 parent c68f4e4 commit dc67f8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pallets/subtensor/src/staking/set_children.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl<T: Config> Pallet<T> {
&hotkey,
netuid,
&TransactionType::SetChildren,
current_block
current_block,
);

// --- 2. Check that this delegation is not on the root network. Child hotkeys are not valid on root.
Expand Down Expand Up @@ -262,7 +262,7 @@ impl<T: Config> Pallet<T> {
&hotkey,
netuid,
&TransactionType::SetChildkeyTake,
current_block
current_block,
);

// Set the new childkey take value for the given hotkey and network
Expand Down
1 change: 0 additions & 1 deletion pallets/subtensor/tests/children.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3237,4 +3237,3 @@ fn test_rank_trust_incentive_calculation_with_parent_child() {

});
}

0 comments on commit dc67f8f

Please sign in to comment.