Skip to content

Commit

Permalink
fix go GenerateTransferInvalidVaultScript() template txn generation
Browse files Browse the repository at this point in the history
  • Loading branch information
sisyphusSmiling committed Oct 25, 2023
1 parent a1be91b commit bd585d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/go/templates/transaction_templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func GenerateTransferInvalidVaultScript(fungibleAddr, tokenAddr, otherTokenAddr,
import %s from 0x%s
transaction {
prepare(acct: &Account) {
prepare(acct: auth(BorrowValue) &Account) {
let recipient = getAccount(0x%s)
let providerRef = acct.storage.borrow<&{FungibleToken.Provider}>(from: /storage/%sVault)
Expand Down

0 comments on commit bd585d9

Please sign in to comment.