File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
pallets/subtensor/src/tests Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2645,11 +2645,11 @@ fn test_swap_auto_stake_destination_coldkeys() {
26452645 assert ! ( !new_coldkeys. contains( & old_coldkey) ) ;
26462646 assert_eq ! (
26472647 AutoStakeDestination :: <Test >:: try_get( old_coldkey, netuid) ,
2648- None
2648+ Err ( ( ) )
26492649 ) ;
26502650 assert_eq ! (
26512651 AutoStakeDestination :: <Test >:: try_get( new_coldkey, netuid) ,
2652- Some ( hotkey)
2652+ Ok ( hotkey)
26532653 ) ;
26542654 } ) ;
26552655}
Original file line number Diff line number Diff line change @@ -1497,7 +1497,7 @@ fn test_swap_auto_stake_destination_coldkeys() {
14971497 assert ! ( AutoStakeDestinationColdkeys :: <Test >:: get( old_hotkey, netuid) . is_empty( ) ) ;
14981498 assert_eq ! (
14991499 AutoStakeDestination :: <Test >:: get( coldkey, netuid) ,
1500- new_hotkey
1500+ Some ( new_hotkey)
15011501 ) ;
15021502 } ) ;
15031503}
You can’t perform that action at this time.
0 commit comments