In mint_nft there can be defined a owner that will mint the NFT to the defined owner. This works within the RMRK pallet, but it is incorrectly reflected in the pallet_uniques Storage due to this line:
pallet_uniques::Pallet::<T>::do_mint(
collection_id,
nft_id,
sender.clone(),
|_details| Ok(()),
)?;
This needs to be changed to ensure that pallet_uniques mints the NFT to the proper owner
pallet_uniques::Pallet::<T>::do_mint(
collection_id,
nft_id,
owner,
|_details| Ok(()),
)?;
In
mint_nftthere can be defined aownerthat will mint the NFT to the definedowner. This works within the RMRK pallet, but it is incorrectly reflected in thepallet_uniquesStorage due to this line:This needs to be changed to ensure that
pallet_uniquesmints the NFT to the properowner