--- a/pallets/unique/src/sponsorship.rs +++ b/pallets/unique/src/sponsorship.rs @@ -365,16 +365,5 @@ } else { None } - - // // existance check - // match collection.mode { - // CollectionMode::NFT => >::get(collection.id, token), - // CollectionMode::Fungible(_) => { - // >::get(collection.id, who.as_sub()) - // } - // CollectionMode::ReFungible => { - // >::get((collection.id, token, who.as_sub())) - // } - // }; } } --- 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, DispatchError> { Ok(>::effective_collection_limits(collection))