trie: fix typos (#23768)

pull/23771/head
Ha ĐANG 3 years ago committed by GitHub
parent 433f0919cc
commit c36f8fefc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      trie/database.go

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

Loading…
Cancel
Save