forked from cerc-io/plugeth
core/state/snapshot: fix typo in comment (#23219)
This commit is contained in:
parent
e4b687cf46
commit
57d9e0ac75
@ -469,7 +469,7 @@ func (t *Tree) cap(diff *diffLayer, layers int) *diskLayer {
|
|||||||
if flattened.memory < aggregatorMemoryLimit {
|
if flattened.memory < aggregatorMemoryLimit {
|
||||||
// Accumulator layer is smaller than the limit, so we can abort, unless
|
// Accumulator layer is smaller than the limit, so we can abort, unless
|
||||||
// there's a snapshot being generated currently. In that case, the trie
|
// there's a snapshot being generated currently. In that case, the trie
|
||||||
// will move fron underneath the generator so we **must** merge all the
|
// will move from underneath the generator so we **must** merge all the
|
||||||
// partial data down into the snapshot and restart the generation.
|
// partial data down into the snapshot and restart the generation.
|
||||||
if flattened.parent.(*diskLayer).genAbort == nil {
|
if flattened.parent.(*diskLayer).genAbort == nil {
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user