From 53e0c9710ed630007400f6270742fcfb5c2f8b7e Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 3 Nov 2021 23:16:43 +0000 Subject: [PATCH] Fix typo in bankless-leader.md (#21152) (#21160) Reseting -> Resetting (cherry picked from commit ae207b7dbb3e09a821384f945c2d239d9f343855) Co-authored-by: Ikko Ashimine --- docs/src/proposals/bankless-leader.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/proposals/bankless-leader.md b/docs/src/proposals/bankless-leader.md index ebc08c8881..df582b2bf3 100644 --- a/docs/src/proposals/bankless-leader.md +++ b/docs/src/proposals/bankless-leader.md @@ -42,7 +42,7 @@ A leader can be scheduled to produce multiple blocks in a row. In that scenario When the leader finishes the replay stage it can reset the balance cache by clearing it, and set a new fork as the base for the cache which can become active on the next block. -## Reseting the Balance Cache +## Resetting the Balance Cache 1. At the start of the block, if the balance cache is uninitialized, set the base fork for the balance cache to be the parent of the block and create an empty cache. 2. if the cache is initialized, check if block's parents has a new frozen bank that is newer than the current base fork for the balance cache.