Skip to content

Commit d70ef06

Browse files
Update pallets/subtensor/tests/swap.rs
Co-authored-by: Cameron Fairchild <[email protected]>
1 parent c4a1e6e commit d70ef06

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pallets/subtensor/tests/swap.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,6 +1091,8 @@ fn test_do_swap_coldkey_success() {
10911091
let balance = SubtensorModule::get_coldkey_balance(&old_coldkey);
10921092
assert_eq!(balance, free_balance);
10931093

1094+
let balance_new_coldkey = SubtensorModule::get_coldkey_balance(&new_coldkey);
1095+
10941096
// Perform the swap
10951097
assert_ok!(SubtensorModule::do_swap_coldkey(
10961098
<<Test as Config>::RuntimeOrigin>::signed(old_coldkey),

0 commit comments

Comments
 (0)