Skip to content

Commit

Permalink
trie: fix typos (ethereum#23768)
Browse files Browse the repository at this point in the history
  • Loading branch information
hadv authored Oct 18, 2021
1 parent 433f091 commit c36f8fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trie/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -794,8 +794,8 @@ type cleaner struct {
// Put reacts to database writes and implements dirty data uncaching. This is the
// post-processing step of a commit operation where the already persisted trie is
// removed from the dirty cache and moved into the clean cache. The reason behind
// the two-phase commit is to ensure ensure data availability while moving from
// memory to disk.
// the two-phase commit is to ensure data availability while moving from memory
// to disk.
func (c *cleaner) Put(key []byte, rlp []byte) error {
hash := common.BytesToHash(key)

Expand Down

0 comments on commit c36f8fe

Please sign in to comment.