Whoops! 😨 Something unexpected happened...
[Error Code: 1101] cadence runtime error Execution failed:
--> c80b0881a74d31405f9a4012f480ce8cab5ac303648665a614fa4aca384da57f:36:38
|
36 | let collection <- BlockleteMarket_NFT_V2.createSaleCollection(ownerCapability: ownerCapability, beneficiaryCapability: beneficiaryCapability, cutPercentage: cutPercentage) as! @BlockleteMarket_NFT_V2.SaleCollection
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> 9969d64233d69723.BlockleteMarket_NFT_V2:317:25
|
317 | return <- create SaleCollection(ownerCapability: ownerCapability, beneficiaryCapability: beneficiaryCapability, cutPercentage: cutPercentage)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: pre-condition failed: Owner's Receiver Capability is invalid!
--> 9969d64233d69723.BlockleteMarket_NFT_V2:122:16
|
122 | ownerCapability.borrow() != nil:
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^