From 89727e04a5791fdfe1935684899bdabe2f26daad Mon Sep 17 00:00:00 2001 From: Jude Zhu Date: Thu, 29 Aug 2024 02:20:25 -0700 Subject: [PATCH] fix tx --- transactions/marketV3/create_start_sale.cdc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/transactions/marketV3/create_start_sale.cdc b/transactions/marketV3/create_start_sale.cdc index e4419a0..1d1bb59 100644 --- a/transactions/marketV3/create_start_sale.cdc +++ b/transactions/marketV3/create_start_sale.cdc @@ -13,10 +13,10 @@ transaction(tokenReceiverPath: PublicPath, beneficiaryAccount: Address, cutPerce let ownerCapability = acct.capabilities.get<&{FungibleToken.Receiver}>(tokenReceiverPath)! let beneficiaryCapability = getAccount(beneficiaryAccount).capabilities.get<&{FungibleToken.Receiver}>(tokenReceiverPath)! - let ownerCollection = acct.capabilities.storage.issue(/storage/MomentCollection) + let ownerCollection = acct.capabilities.storage.issue(/storage/MomentCollection) // get a capability for the v1 collection - var v1SaleCollection: Capability? = nil + var v1SaleCollection: Capability? = nil if acct.storage.borrow<&Market.SaleCollection>(from: /storage/topshotSaleCollection) != nil { v1SaleCollection = acct.capabilities.storage.issue(/storage/topshotSaleCollection) }