diff --git a/lib/flow/fund.ts b/lib/flow/fund.ts index 944fe1c..88231f1 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")