diff --git a/pallets/subtensor/src/staking/set_children.rs b/pallets/subtensor/src/staking/set_children.rs index ab69c3438..9029d58ca 100644 --- a/pallets/subtensor/src/staking/set_children.rs +++ b/pallets/subtensor/src/staking/set_children.rs @@ -74,7 +74,7 @@ impl Pallet { &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. @@ -262,7 +262,7 @@ impl Pallet { &hotkey, netuid, &TransactionType::SetChildkeyTake, - current_block + current_block, ); // Set the new childkey take value for the given hotkey and network diff --git a/pallets/subtensor/tests/children.rs b/pallets/subtensor/tests/children.rs index e5b5d080c..f36c21521 100644 --- a/pallets/subtensor/tests/children.rs +++ b/pallets/subtensor/tests/children.rs @@ -3237,4 +3237,3 @@ fn test_rank_trust_incentive_calculation_with_parent_child() { }); } -