Fix typo in bankless-leader.md (#21152) (#21160)

Reseting -> Resetting

(cherry picked from commit ae207b7dbb)

Co-authored-by: Ikko Ashimine <eltociear@gmail.com>
This commit is contained in:
mergify[bot]
2021-11-03 23:16:43 +00:00
committed by GitHub
parent c14864a608
commit 53e0c9710e

View File

@ -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.