Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 9c9d5f3532fdd751d4bb370b09a821f2552bb9e54992c2b140495a6a3f624b0f:114:20
|
114 | let item <- self.listing.purchase(
115 | payment: <-self.paymentVault,
116 | commissionRecipient: self.commissionRecipientCap
117 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: pre-condition failed: listing has already been purchased
--> 4eb8a10cb9f87357.NFTStorefrontV2:322:16
|
322 | self.details.purchased == false: "listing has already been purchased"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^