From dc67f8fbfd0d4fb7035adc1d1e80408283d44d9e Mon Sep 17 00:00:00 2001 From: Samuel Dare Date: Mon, 19 Aug 2024 07:28:41 +0400 Subject: [PATCH] chore: fmt --- pallets/subtensor/src/staking/set_children.rs | 4 ++-- pallets/subtensor/tests/children.rs | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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() { }); } -