Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
--> c4cd4f48a81bd6e941cf404da3b24c78e7943913ac71d3e509478ff65754cea1:39:10
|
39 | createListing(seller, storefront, request, paymentReceiver, nftRef, typeRef)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> c4cd4f48a81bd6e941cf404da3b24c78e7943913ac71d3e509478ff65754cea1:69:2
|
69 | storefront.createListing(
70 | nftProviderCapability: collectionCap,
71 | paymentReceiver: paymentReceiver,
72 | nftType: typeCache[r.nftTypeIdentifier]!,
73 | nftID: r.nftID,
74 | salePaymentVaultType: Type<@DapperUtilityCoin.Vault>(),
75 | price: r.price,
76 | customID: r.customID,
77 | expiry: UInt64(getCurrentBlock().timestamp) + r.expiry,
78 | buyer: r.buyerAddress
79 | )
| ^
error: pre-condition failed: payment receiver is invalid
--> b051bdaddb672a33.NFTStorefrontV2:539:7