Skip to content

Commit 7448136

Browse files
committed
update setup account
1 parent e230a34 commit 7448136

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/go/templates/internal/assets/assets.go

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

transactions/flowToken/setup_account.cdc

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import "FlowToken"
88

99
transaction {
1010

11-
prepare(signer: auth(Storage) &Account) {
11+
prepare(signer: auth(Capabilities, Storage) &Account) {
1212

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

0 commit comments

Comments
 (0)