Unverified Commit c36f8fef authored by Ha ĐANG's avatar Ha ĐANG Committed by GitHub

trie: fix typos (#23768)

parent 433f0919
...@@ -794,8 +794,8 @@ type cleaner struct { ...@@ -794,8 +794,8 @@ type cleaner struct {
// Put reacts to database writes and implements dirty data uncaching. This is the // 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 // 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 // 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 // the two-phase commit is to ensure data availability while moving from memory
// memory to disk. // to disk.
func (c *cleaner) Put(key []byte, rlp []byte) error { func (c *cleaner) Put(key []byte, rlp []byte) error {
hash := common.BytesToHash(key) hash := common.BytesToHash(key)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment