Skip to content

Commit

Permalink
oops, add arg
Browse files Browse the repository at this point in the history
  • Loading branch information
camfairchild committed Jan 9, 2025
1 parent 4fc211c commit 511fd86
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pallets/subtensor/src/tests/swap_coldkey.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1555,7 +1555,11 @@ fn test_coldkey_swap_delegate_identity_updated() {
assert!(Identities::<Test>::get(old_coldkey).is_some());
assert!(Identities::<Test>::get(new_coldkey).is_none());

assert_ok!(SubtensorModule::do_swap_coldkey(&old_coldkey, &new_coldkey));
assert_ok!(SubtensorModule::do_swap_coldkey(
&old_coldkey,
&new_coldkey,
burn_cost
));

assert!(Identities::<Test>::get(old_coldkey).is_none());
assert!(Identities::<Test>::get(new_coldkey).is_some());
Expand Down

0 comments on commit 511fd86

Please sign in to comment.