@@ -3952,7 +3952,7 @@ fn test_dividend_distribution_with_children_same_coldkey_owner() {
3952
3952
3953
3953
#[ test]
3954
3954
fn test_pending_cooldown_one_day ( ) {
3955
- let curr_block = 1 ;
3955
+ let curr_block = 1 ;
3956
3956
new_test_ext ( curr_block) . execute_with ( || {
3957
3957
let coldkey = U256 :: from ( 1 ) ;
3958
3958
let hotkey = U256 :: from ( 2 ) ;
@@ -3967,11 +3967,19 @@ fn test_pending_cooldown_one_day() {
3967
3967
register_ok_neuron ( netuid, hotkey, coldkey, 0 ) ;
3968
3968
3969
3969
// Set multiple children
3970
- mock_schedule_children ( & coldkey, & hotkey, netuid, & [ ( proportion1, child1) , ( proportion2, child2) ] ) ;
3970
+ mock_schedule_children (
3971
+ & coldkey,
3972
+ & hotkey,
3973
+ netuid,
3974
+ & [ ( proportion1, child1) , ( proportion2, child2) ] ,
3975
+ ) ;
3971
3976
3972
3977
// Verify pending map
3973
- let pending_children = PendingChildKeys :: < Test > :: get ( netuid, hotkey) ;
3974
- assert_eq ! ( pending_children. 0 , vec![ ( proportion1, child1) , ( proportion2, child2) ] ) ;
3975
- assert_eq ! ( pending_children. 1 , curr_block + 7_200 ) ;
3978
+ let pending_children = PendingChildKeys :: < Test > :: get ( netuid, hotkey) ;
3979
+ assert_eq ! (
3980
+ pending_children. 0 ,
3981
+ vec![ ( proportion1, child1) , ( proportion2, child2) ]
3982
+ ) ;
3983
+ assert_eq ! ( pending_children. 1 , curr_block + 7_200 ) ;
3976
3984
} ) ;
3977
3985
}
0 commit comments