Skip to content

Commit 4763cb3

Browse files
committed
Format
1 parent 8640a93 commit 4763cb3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pallets/subtensor/tests/swap.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1903,7 +1903,10 @@ fn test_do_swap_hotkey_with_initial_delegate_stake() {
19031903
add_network(netuid, tempo, 0);
19041904
register_ok_neuron(netuid, old_hotkey, coldkey, 0);
19051905
SubtensorModule::add_balance_to_coldkey_account(&coldkey, swap_cost);
1906-
SubtensorModule::add_balance_to_coldkey_account(&new_hotkey, stake + ExistentialDeposit::get());
1906+
SubtensorModule::add_balance_to_coldkey_account(
1907+
&new_hotkey,
1908+
stake + ExistentialDeposit::get(),
1909+
);
19071910

19081911
// Old hotkey allows delegation
19091912
assert_ok!(SubtensorModule::do_become_delegate(

0 commit comments

Comments
 (0)