From 7d06f7a1746967a789ed585355d6b73bb653527d Mon Sep 17 00:00:00 2001 From: Ian Macalinao Date: Sat, 17 Sep 2022 22:58:33 -0500 Subject: [PATCH] runtime: fix typo in expected_rent_collection.rs (#27890) --- runtime/src/expected_rent_collection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/expected_rent_collection.rs b/runtime/src/expected_rent_collection.rs index 5db3a59d9..1f3425d65 100644 --- a/runtime/src/expected_rent_collection.rs +++ b/runtime/src/expected_rent_collection.rs @@ -45,7 +45,7 @@ pubkey_partition_index of 'abc' = 80 So, rent will be collected or a rewrite is expected to occur: each time a slot's pubkey_partition is == [footnote1] pubkey_partition_index within an epoch. [footnote2] - If we skip rewrites, then pubkey's account data will not be rewritten when its rent collecion partition index occurs. + If we skip rewrites, then pubkey's account data will not be rewritten when its rent collection partition index occurs. However, later we need to get a hash value for the most recent update to this account. That leads us to the purpose of this file. To calculate a hash for account data, we need to know: