Skip to content

Commit

Permalink
update setup account
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuahannan committed Jan 23, 2025
1 parent e230a34 commit 7448136
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/go/templates/internal/assets/assets.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion transactions/flowToken/setup_account.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import "FlowToken"

transaction {

prepare(signer: auth(Storage) &Account) {
prepare(signer: auth(Capabilities, Storage) &Account) {

if signer.storage.borrow<&FlowToken.Vault>(from: /storage/flowTokenVault) == nil {
// Create a new flowToken Vault and put it in storage
Expand Down

0 comments on commit 7448136

Please sign in to comment.