Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> c9c4297188c6c30f959b62590439e423cae3ce5e5a9740a87f5eb2c9fcc3d563:71:17
|
71 | let id = self.storefront.createListing(
72 | nftProviderCapability: self.nftProvider,
73 | nftType: Type<@Inscription.NFT>(),
74 | nftID: saleItemID,
75 | salePaymentVaultType: Type<@FlowToken.Vault>(),
76 | saleCuts: saleCuts
77 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 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!"
| ^^^^^^^^^^^