From a0b655b72b65194a6e72d6ab004b18a6168559d7 Mon Sep 17 00:00:00 2001 From: gr8den Date: Sun, 18 Dec 2022 02:01:46 +0800 Subject: [PATCH] fix typo in runtime docs (#29314) --- docs/src/developing/programming-model/runtime.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/developing/programming-model/runtime.md b/docs/src/developing/programming-model/runtime.md index de2dfd69d7b95d..89547cbd8a09ae 100644 --- a/docs/src/developing/programming-model/runtime.md +++ b/docs/src/developing/programming-model/runtime.md @@ -44,7 +44,7 @@ The policy is as follows: ## Balancing the balances Before and after each instruction, the sum of all account balances must stay the same. -E.g. if one account's balance is increased, another's must be decreased by the same ammount. +E.g. if one account's balance is increased, another's must be decreased by the same amount. Because the runtime can not see changes to accounts which were not passed to it, all accounts for which the balances were modified must be passed, even if they are not needed in the called instruction.