Skip to content

Commit

Permalink
Fix typo in bankless-leader.md (solana-labs#21152)
Browse files Browse the repository at this point in the history
Reseting -> Resetting
  • Loading branch information
eltociear authored Nov 3, 2021
1 parent 221b0f6 commit ae207b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/proposals/bankless-leader.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ae207b7

Please sign in to comment.