From c63ba2fac43df08a93f481ffdbfb8a70a3d0e424 Mon Sep 17 00:00:00 2001 From: Giovanni Sanchez <108043524+sisyphusSmiling@users.noreply.github.com> Date: Thu, 10 Oct 2024 11:58:58 -0600 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Joshua Hannan --- docs/build/guides/account-linking/child-accounts.md | 2 +- docs/build/guides/account-linking/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/build/guides/account-linking/child-accounts.md b/docs/build/guides/account-linking/child-accounts.md index 766b55ac8f..426e38bd89 100644 --- a/docs/build/guides/account-linking/child-accounts.md +++ b/docs/build/guides/account-linking/child-accounts.md @@ -660,7 +660,7 @@ transaction( // Get a reference to the Manager and add the account let managerRef = parent.storage.borrow(from: HybridCustody.ManagerStoragePath) - ?? panic("manager no found") + ?? panic("manager not found") managerRef.addAccount(cap: cap) } } diff --git a/docs/build/guides/account-linking/index.md b/docs/build/guides/account-linking/index.md index 20e754967e..b01ca1be96 100644 --- a/docs/build/guides/account-linking/index.md +++ b/docs/build/guides/account-linking/index.md @@ -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.