Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> 1bc2b7e083c2407c2e3ec8b597e6d38cc450a51970f9afc6ec8c889df5bbe666: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
--> 80102bce1de42dc4.NFTStorefrontV2:306:16
|
306 | self.details.purchased == false: "listing has already been purchased"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^