From bd585d9f71c0e89d7c157267dd0127f9f9d29986 Mon Sep 17 00:00:00 2001 From: Giovanni Sanchez <108043524+sisyphusSmiling@users.noreply.github.com> Date: Wed, 25 Oct 2023 11:50:00 -0500 Subject: [PATCH] fix go GenerateTransferInvalidVaultScript() template txn generation --- lib/go/templates/transaction_templates.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/go/templates/transaction_templates.go b/lib/go/templates/transaction_templates.go index 9d48821..bfcae22 100644 --- a/lib/go/templates/transaction_templates.go +++ b/lib/go/templates/transaction_templates.go @@ -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)