Skip to content

Commit 0a6ae62

Browse files
committed
add testing coldkey to vec
1 parent 95be69d commit 0a6ae62

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
@@ -1473,7 +1473,7 @@ fn test_swap_auto_stake_destination_coldkeys() {
14731473
let new_hotkey = U256::from(2);
14741474
let coldkey = U256::from(3);
14751475
let netuid = NetUid::from(2u16); // Can't be root
1476-
let coldkeys = vec![U256::from(4), U256::from(5)];
1476+
let coldkeys = vec![U256::from(4), U256::from(5), coldkey];
14771477
let mut weight = Weight::zero();
14781478

14791479
// Initialize ChildKeys for old_hotkey

0 commit comments

Comments
 (0)