Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Hannan <[email protected]>
  • Loading branch information
sisyphusSmiling and joshuahannan authored Oct 10, 2024
1 parent af95e8b commit c63ba2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/build/guides/account-linking/child-accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ transaction(
// Get a reference to the Manager and add the account
let managerRef = parent.storage.borrow<auth(HybridCustody.Manage) &HybridCustody.Manager>(from: HybridCustody.ManagerStoragePath)
?? panic("manager no found")
?? panic("manager not found")
managerRef.addAccount(cap: cap)
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/build/guides/account-linking/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ order to understand how we can achieve that we must first understand how account
Accounts on flow can be accessed in Cadence through two types, `PublicAccount` and `Account`. As the name implies the
`PublicAccount` type gives access to all public account information such as address, balance, storage capacity, etc.,
but doesn't allow changes to the account. The `Account` type (or more specifically, an
[entitled](https://cadence-lang.org/docs/1.0/language/access-control#entitlements) `Account`) allows the same access as
[entitled](https://cadence-lang.org/docs/1.0/language/access-control#entitlements) `&Account`) allows the same access as
`PublicAccount` but also allows changes to the account, including adding/revoking account keys, managing the deployed
contracts, as well as linking and publishing Capabilities.

Expand Down

0 comments on commit c63ba2f

Please sign in to comment.