Skip to content

Commit

Permalink
core/state/snapshot: fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rjl493456442 committed May 6, 2022
1 parent 2994660 commit f38ca1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/state/snapshot/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ func (dl *diskLayer) proveRange(stats *generatorStats, root common.Hash, prefix
//
// However, for accounts, the storage trie of the account needs to be checked. Also,
// dangling storages(storage exists but the corresponding account is missing) need to
// be cleaned up. The range between the prevKey
// be cleaned up.
type onStateCallback func(key []byte, val []byte, r *danglingRange, write bool, delete bool) error

// generateRange generates the state segment with particular prefix. Generation can
Expand Down

0 comments on commit f38ca1d

Please sign in to comment.