Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 2c647fa4ad92cc9611d0066f14cc3d28bb99ea78e6d5b824d59bc396f2b7a7ca:96:8
|
96 | self.storefront.createListing(
97 | nftProviderCapability: self.nftProvider,
98 | nftType: Type<@MFLPlayer.NFT>(),
99 | nftID: saleItemID,
100 | salePaymentVaultType: Type<@DapperUtilityCoin.Vault>(),
101 | saleCuts: [saleCutSeller, saleCutRoyalty]
102 | )
| ^
--> 4eb8a10cb9f87357.NFTStorefront:402:34
|
402 | let listing <- create Listing(
403 | nftProviderCapability: nftProviderCapability,
404 | nftType: nftType,
405 | nftID: nftID,
406 | salePaymentVaultType: salePaymentVaultType,
407 | saleCuts: saleCuts,
408 | storefrontID: self.uuid
409 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: pre-condition failed: NFT does not exist in the collection!
--> 1d7e57aa55817448.NonFungibleToken:187:30
|
187 | self.ownedNFTs[id] != nil: "NFT does not exist in the collection!"
| ^^^^^^^^^^^