From 78168104f53cd26351c93e8a93828125dd94bb80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Andr=C3=A9s=20Dorado=20Su=C3=A1rez?= Date: Tue, 19 Sep 2023 14:15:09 -0500 Subject: [PATCH] fix(communities:functions/tokens): apply fmt --- pallets/communities/src/functions/tokens.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pallets/communities/src/functions/tokens.rs b/pallets/communities/src/functions/tokens.rs index b80c2b04..8f9986cf 100644 --- a/pallets/communities/src/functions/tokens.rs +++ b/pallets/communities/src/functions/tokens.rs @@ -8,7 +8,7 @@ impl Pallet { dest: &AccountIdOf, amount: BalanceOf, ) -> DispatchResult { - let community_account_id = Self::get_community_account_id(&community_id); + let community_account_id = Self::get_community_account_id(community_id); T::Assets::transfer(asset_id, &community_account_id, dest, amount, Preservation::Preserve)?; Ok(()) @@ -19,7 +19,7 @@ impl Pallet { dest: &AccountIdOf, amount: NativeBalanceOf, ) -> DispatchResult { - let community_account_id = Self::get_community_account_id(&community_id); + let community_account_id = Self::get_community_account_id(community_id); T::Balances::transfer(&community_account_id, dest, amount, Preservation::Preserve)?; Ok(())