File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
pallets/subtensor/src/tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5501,7 +5501,7 @@ fn test_reveal_crv3_commits_multiple_valid_commits_all_processed() {
5501
5501
let delta = I32F32 :: from_num ( 0.0001 ) ;
5502
5502
5503
5503
for ( hotkey, expected_payload) in commits {
5504
- let neuron_uid = SubtensorModule :: get_uid_for_net_and_hotkey ( netuid, & hotkey)
5504
+ let neuron_uid = SubtensorModule :: get_uid_for_net_and_hotkey ( netuid, hotkey)
5505
5505
. expect ( "Failed to get neuron UID for hotkey" ) as usize ;
5506
5506
let weights = weights_sparse
5507
5507
. get ( neuron_uid)
@@ -5687,7 +5687,7 @@ fn test_reveal_crv3_commits_max_neurons() {
5687
5687
let delta = I32F32 :: from_num ( 0.0001 ) ; // Adjust delta as needed
5688
5688
5689
5689
for ( hotkey, expected_payload) in commits {
5690
- let neuron_uid = SubtensorModule :: get_uid_for_net_and_hotkey ( netuid, & hotkey)
5690
+ let neuron_uid = SubtensorModule :: get_uid_for_net_and_hotkey ( netuid, hotkey)
5691
5691
. expect ( "Failed to get neuron UID for hotkey" ) as usize ;
5692
5692
let weights = weights_sparse
5693
5693
. get ( neuron_uid)
You can’t perform that action at this time.
0 commit comments