diff --git a/pallets/subtensor/src/tests/swap_coldkey.rs b/pallets/subtensor/src/tests/swap_coldkey.rs index 73c62aa69..49f6c7bc9 100644 --- a/pallets/subtensor/src/tests/swap_coldkey.rs +++ b/pallets/subtensor/src/tests/swap_coldkey.rs @@ -1555,7 +1555,11 @@ fn test_coldkey_swap_delegate_identity_updated() { assert!(Identities::::get(old_coldkey).is_some()); assert!(Identities::::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::::get(old_coldkey).is_none()); assert!(Identities::::get(new_coldkey).is_some());