Skip to content

Commit

Permalink
Merge pull request #78 from onflow/giovanni/update-fund
Browse files Browse the repository at this point in the history
Fix fund transaction
  • Loading branch information
chasefleming authored Feb 23, 2024
2 parents 92faf73 + 312502c commit 295edfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/flow/fund.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 295edfc

Please sign in to comment.