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