git.delta.rocks / unique-network / refs/commits / 81762e018aaf

difftreelog

Cargo fmt

Trubnikov Sergey2022-06-03parent: #4695760.patch.diff
in: master

3 files changed

modifiedpallets/common/src/erc.rsdiffbeforeafterboth

no syntactic changes

modifiedpallets/common/src/lib.rsdiffbeforeafterboth
--- a/pallets/common/src/lib.rs
+++ b/pallets/common/src/lib.rs
@@ -175,7 +175,7 @@
 		if self.read_only {
 			return Err(<Error<T>>::CollectionNotFound)?;
 		}
-		
+
 		Ok(())
 	}
 }
modifiedpallets/nonfungible/src/lib.rsdiffbeforeafterboth
--- a/pallets/nonfungible/src/lib.rs
+++ b/pallets/nonfungible/src/lib.rs
@@ -903,7 +903,7 @@
 		spender: Option<&T::CrossAccountId>,
 	) -> DispatchResult {
 		collection.check_is_read_only()?;
-		
+
 		if collection.permissions.access() == AccessMode::AllowList {
 			collection.check_allowlist(sender)?;
 			if let Some(spender) = spender {