diff --git a/pds/embed.go b/pds/embed.go index 6041270..aaed929 100644 --- a/pds/embed.go +++ b/pds/embed.go @@ -33,4 +33,6 @@ var ( PDSOpenPackNFT []byte //go:embed transactions/pds/reveal_packNFT.cdc PDSRevealPackNFT []byte + //go:embed transactions/pds/create_distribution.cdc + PDSCreateDistribution []byte ) diff --git a/pds/transactions/pds/create_distribution.cdc b/pds/transactions/pds/create_distribution.cdc index 8b9f222..215e95f 100644 --- a/pds/transactions/pds/create_distribution.cdc +++ b/pds/transactions/pds/create_distribution.cdc @@ -16,7 +16,7 @@ transaction(nftWithdrawCapPath: StoragePath, title: String, metadata: {String: S // get withdraw capability from issuer let withdrawCap = issuer.storage.copy< - Capability>(from: nftWithdrawCapPath)! + Capability>(from: nftWithdrawCapPath)! assert(withdrawCap.check(), message: "cannot get copy of withdraw capability") // get operator capability from issuer