difftreelog
fix(rmrk) no permissions on reject nft if isn't pending
in: master
1 file changed
pallets/proxy-rmrk-core/src/lib.rsdiffbeforeafterboth645 Self::get_typed_nft_collection(collection_id, misc::CollectionType::Regular)?;645 Self::get_typed_nft_collection(collection_id, misc::CollectionType::Regular)?;646 collection.check_is_external()?;646 collection.check_is_external()?;647648 ensure!(649 Self::get_nft_property_decoded(650 collection_id,651 nft_id,652 RmrkProperty::PendingNftAccept653 )?,654 <Error<T>>::NoPermission655 );647656648 Self::destroy_nft(657 Self::destroy_nft(649 cross_sender,658 cross_sender,