git.delta.rocks / unique-network / refs/commits / e476c1671f42

difftreelog

Fix style

str-mv2022-04-08parent: #4fa2f8e.patch.diff
in: master

2 files changed

modifiedpallets/unique/src/sponsorship.rsdiffbeforeafterboth
366 None366 None
367 }367 }
368
369 // // existance check
370 // match collection.mode {
371 // CollectionMode::NFT => <NftTransferBasket<T>>::get(collection.id, token),
372 // CollectionMode::Fungible(_) => {
373 // <FungibleTransferBasket<T>>::get(collection.id, who.as_sub())
374 // }
375 // CollectionMode::ReFungible => {
376 // <ReFungibleTransferBasket<T>>::get((collection.id, token, who.as_sub()))
377 // }
378 // };
379 }368 }
380}369}
381370
modifiedruntime/common/src/runtime_apis.rsdiffbeforeafterboth
--- a/runtime/common/src/runtime_apis.rs
+++ b/runtime/common/src/runtime_apis.rs
@@ -75,6 +75,7 @@
                         collection,
                         account,
                         token))
+                }
 
                 fn effective_collection_limits(collection: CollectionId) -> Result<Option<CollectionLimits>, DispatchError> {
                     Ok(<pallet_common::Pallet<Runtime>>::effective_collection_limits(collection))