Skip to content

Commit dc67f8f

Browse files
author
Samuel Dare
committed
chore: fmt
1 parent c68f4e4 commit dc67f8f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pallets/subtensor/src/staking/set_children.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl<T: Config> Pallet<T> {
7474
&hotkey,
7575
netuid,
7676
&TransactionType::SetChildren,
77-
current_block
77+
current_block,
7878
);
7979

8080
// --- 2. Check that this delegation is not on the root network. Child hotkeys are not valid on root.
@@ -262,7 +262,7 @@ impl<T: Config> Pallet<T> {
262262
&hotkey,
263263
netuid,
264264
&TransactionType::SetChildkeyTake,
265-
current_block
265+
current_block,
266266
);
267267

268268
// Set the new childkey take value for the given hotkey and network

pallets/subtensor/tests/children.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3237,4 +3237,3 @@ fn test_rank_trust_incentive_calculation_with_parent_child() {
32373237

32383238
});
32393239
}
3240-

0 commit comments

Comments
 (0)