Skip to content

Commit

Permalink
Update pallets/subtensor/tests/swap_hotkey.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Cameron Fairchild <cameron@opentensor.ai>
  • Loading branch information
distributedstatemachine and camfairchild authored Jul 30, 2024
1 parent d790ab3 commit 50179b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/subtensor/tests/swap_hotkey.rs
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ fn test_swap_hotkey_becomes_delegate() {
&new_hotkey
));

// Check that old_hotkey is no longer a delegate
// Check that old_hotkey is still not a delegate
assert!(!Delegates::<Test>::contains_key(old_hotkey));

// Check that new_hotkey is now a delegate with the correct take value
Expand Down

0 comments on commit 50179b5

Please sign in to comment.