Skip to content

Commit 40c53a2

Browse files
committed
clippy
1 parent e9b0051 commit 40c53a2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pallets/subtensor/src/tests/swap_hotkey.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,14 +1370,14 @@ fn test_swap_hotkey_is_sn_owner_hotkey() {
13701370
let mut weight = Weight::zero();
13711371

13721372
// Create dynamic network
1373-
let netuid = add_dynamic_network(&old_hotkey, &coldkey);
1374-
// Check for SubnetOwnerHotkey
1375-
assert_eq!(SubnetOwnerHotkey::<Test>::get(netuid), old_hotkey);
1373+
let netuid = add_dynamic_network(&old_hotkey, &coldkey);
1374+
// Check for SubnetOwnerHotkey
1375+
assert_eq!(SubnetOwnerHotkey::<Test>::get(netuid), old_hotkey);
13761376

13771377
// Perform the swap
13781378
SubtensorModule::perform_hotkey_swap(&old_hotkey, &new_hotkey, &coldkey, &mut weight);
13791379

1380-
// Check for SubnetOwnerHotkey
1381-
assert_eq!(SubnetOwnerHotkey::<Test>::get(netuid), new_hotkey);
1380+
// Check for SubnetOwnerHotkey
1381+
assert_eq!(SubnetOwnerHotkey::<Test>::get(netuid), new_hotkey);
13821382
});
13831383
}

0 commit comments

Comments
 (0)