From 15324b60c383f86e4f67310794e63e114022e68e Mon Sep 17 00:00:00 2001 From: RonanLagan <50186158+RonanLagan@users.noreply.github.com> Date: Tue, 3 Sep 2024 22:22:23 +0200 Subject: [PATCH] Found and Fixed some typos while reading the documentation (#410) "initalization" -> "initialization" "bot" -> "not" --- content/courses/onchain-development/anchor-pdas.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/courses/onchain-development/anchor-pdas.md b/content/courses/onchain-development/anchor-pdas.md index a1e704dbd..3a2c34105 100644 --- a/content/courses/onchain-development/anchor-pdas.md +++ b/content/courses/onchain-development/anchor-pdas.md @@ -471,7 +471,7 @@ impl Space for MovieAccountState { The `Space` trait will force us to define the space of our account for initialization, by defining the `INIT_SPACE` constant. This constant can then be -used during the account initalization. +used during the account initialization. Note that, in this case, since the account state is dynamic (`title` and `description` are strings without a fixed size), we will add @@ -486,7 +486,7 @@ length storage + 4 bytes for the description length storage. ### Custom error codes During our implementation, we will be doing some checks and throwing some custom -errors in case those checks are bot successful. +errors in case those checks are not successful. For, that let's go ahead and create an enum that will contain the different type of errors as well as the error messages associated: