Skip to content

Commit

Permalink
fix(communities:functions/tokens): apply fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
pandres95 committed Sep 19, 2023
1 parent f753748 commit 7816810
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pallets/communities/src/functions/tokens.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ impl<T: Config> Pallet<T> {
dest: &AccountIdOf<T>,
amount: BalanceOf<T>,
) -> 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(())
Expand All @@ -19,7 +19,7 @@ impl<T: Config> Pallet<T> {
dest: &AccountIdOf<T>,
amount: NativeBalanceOf<T>,
) -> 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(())
Expand Down

0 comments on commit 7816810

Please sign in to comment.