From ae207b7dbb3e09a821384f945c2d239d9f343855 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Thu, 4 Nov 2021 07:56:46 +0900 Subject: [PATCH] Fix typo in bankless-leader.md (#21152) Reseting -> Resetting --- 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.