Skip to content

Commit 0e99ff6

Browse files
committed
fix an error
1 parent 586eb24 commit 0e99ff6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pallets/subtensor/src/tests/children.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3958,8 +3958,6 @@ fn test_pending_cooldown_as_expected() {
39583958
// 7200
39593959
// };
39603960

3961-
let expected_cooldown = PendingChildKeyCooldown::<Test>::get();
3962-
39633961
new_test_ext(curr_block).execute_with(|| {
39643962
let coldkey = U256::from(1);
39653963
let hotkey = U256::from(2);
@@ -3968,6 +3966,7 @@ fn test_pending_cooldown_as_expected() {
39683966
let netuid: u16 = 1;
39693967
let proportion1: u64 = 1000;
39703968
let proportion2: u64 = 2000;
3969+
let expected_cooldown = PendingChildKeyCooldown::<Test>::get();
39713970

39723971
// Add network and register hotkey
39733972
add_network(netuid, 13, 0);

0 commit comments

Comments
 (0)