git.delta.rocks / unique-network / refs/commits / 11972c632fe7

difftreelog

cargo fmt

Daniel Shiposha2022-06-10parent: #60b6dbd.patch.diff
in: master

2 files changed

modifiedpallets/proxy-rmrk-core/src/benchmarking.rsdiffbeforeafterboth

no syntactic changes

modifiedpallets/proxy-rmrk-core/src/lib.rsdiffbeforeafterboth
--- a/pallets/proxy-rmrk-core/src/lib.rs
+++ b/pallets/proxy-rmrk-core/src/lib.rs
@@ -225,7 +225,7 @@
 			<PalletCommon<T>>::set_scoped_collection_property(
 				unique_collection_id,
 				PropertyScope::Rmrk,
-				Self::rmrk_property(RmrkInternalCollectionId, &rmrk_collection_id)?
+				Self::rmrk_property(RmrkInternalCollectionId, &rmrk_collection_id)?,
 			)?;
 
 			<CollectionIndex<T>>::mutate(|n| *n += 1);
@@ -1327,10 +1327,7 @@
 	pub fn rmrk_collection_id(
 		unique_collection_id: CollectionId,
 	) -> Result<RmrkCollectionId, DispatchError> {
-		Self::get_collection_property_decoded(
-			unique_collection_id,
-			RmrkInternalCollectionId
-		)
+		Self::get_collection_property_decoded(unique_collection_id, RmrkInternalCollectionId)
 	}
 
 	pub fn get_nft_collection(