From 312502ca1b0f26da220d9a69bf801c9cddd968b1 Mon Sep 17 00:00:00 2001 From: Giovanni Sanchez <108043524+sisyphusSmiling@users.noreply.github.com> Date: Fri, 23 Feb 2024 17:15:48 -0600 Subject: [PATCH] update fund transaction --- lib/flow/fund.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/flow/fund.ts b/lib/flow/fund.ts index dda10bd..dd06483 100644 --- a/lib/flow/fund.ts +++ b/lib/flow/fund.ts @@ -12,7 +12,7 @@ transaction(address: Address, amount: UFix64) { let tokenAdmin: &FlowToken.Administrator let tokenReceiver: &{FungibleToken.Receiver} - prepare(signer: AuthAccount) { + prepare(signer: auth(BorrowValue) &Account) { self.tokenAdmin = signer.storage.borrow<&FlowToken.Administrator>(from: /storage/flowTokenAdmin) ?? panic("Signer is not the token admin")