Skip to content

Commit

Permalink
update tx
Browse files Browse the repository at this point in the history
  • Loading branch information
judezhu committed Jun 3, 2024
1 parent 24de4b5 commit 44de38b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import DapperSport from "DapperSport"
transaction(NFTProviderPath: PrivatePath) {

prepare(signer: auth(Capabilities) &Account) {
if signer.getCapability<&{NonFungibleToken.Provider}>(NFTProviderPath).check() {
if signer.capabilities.get<&{NonFungibleToken.Provider}>(at: NFTProviderPath).check() {
return
}
let cap = signer.capabilities.storage.issue<&{NonFungibleToken.Provider}>(target: DapperSport.CollectionStoragePath)
Expand Down

0 comments on commit 44de38b

Please sign in to comment.