Skip to content

Commit 95be69d

Browse files
committed
fix netuid for test
1 parent 6052c2b commit 95be69d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pallets/subtensor/src/tests/swap_hotkey.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1472,7 +1472,7 @@ fn test_swap_auto_stake_destination_coldkeys() {
14721472
let old_hotkey = U256::from(1);
14731473
let new_hotkey = U256::from(2);
14741474
let coldkey = U256::from(3);
1475-
let netuid = NetUid::from(0u16);
1475+
let netuid = NetUid::from(2u16); // Can't be root
14761476
let coldkeys = vec![U256::from(4), U256::from(5)];
14771477
let mut weight = Weight::zero();
14781478

0 commit comments

Comments
 (0)