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

Reseting -> Resetting
This commit is contained in:
Ikko Ashimine 2021-11-04 07:56:46 +09:00 committed by GitHub
parent 221b0f6841
commit ae207b7dbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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.