mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
parent
7fbf862806
commit
1490033ec9
1 changed files with 2 additions and 2 deletions
|
|
@ -752,8 +752,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…
Reference in a new issue