git.delta.rocks / unique-network / refs/commits / 838ab9f77970

difftreelog

fix formatting

Daniel Shiposha2022-09-08parent: #93e757a.patch.diff
in: master

2 files changed

modifiedpallets/foreign-assets/src/lib.rsdiffbeforeafterboth
482 }482 }
483}483}
484impl<484impl<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced> Drop
485 WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,
486 AssetId: Get<MultiLocation>,
487 AccountId,
488 Currency: CurrencyT<AccountId>,
489 OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,
490> Drop for FreeForAll<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>485 for FreeForAll<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>
486where
487 WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,
488 AssetId: Get<MultiLocation>,
489 Currency: CurrencyT<AccountId>,
490 OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,
491{491{
492 fn drop(&mut self) {492 fn drop(&mut self) {
493 OnUnbalanced::on_unbalanced(Currency::issue(self.1));493 OnUnbalanced::on_unbalanced(Currency::issue(self.1));
modifiedpallets/fungible/src/lib.rsdiffbeforeafterboth
--- a/pallets/fungible/src/lib.rs
+++ b/pallets/fungible/src/lib.rs
@@ -519,12 +519,7 @@
 			}
 		}
 
-		Self::create_multiple_items_common(
-			collection,
-			sender,
-			data,
-			nesting_budget,
-		)
+		Self::create_multiple_items_common(collection, sender, data, nesting_budget)
 	}
 
 	/// Minting tokens for multiple IDs.
@@ -535,12 +530,7 @@
 		data: BTreeMap<T::CrossAccountId, u128>,
 		nesting_budget: &dyn Budget,
 	) -> DispatchResult {
-		Self::create_multiple_items_common(
-			collection,
-			sender,
-			data,
-			nesting_budget,
-		)
+		Self::create_multiple_items_common(collection, sender, data, nesting_budget)
 	}
 
 	fn set_allowance_unchecked(