mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 11:20:45 +00:00
Fix typo in comment about flattening diff layers
This commit is contained in:
parent
777265620d
commit
03ac1f05aa
1 changed files with 1 additions and 1 deletions
|
|
@ -375,7 +375,7 @@ func (dl *diffLayer) flatten() snapshot {
|
||||||
if !ok {
|
if !ok {
|
||||||
return dl
|
return dl
|
||||||
}
|
}
|
||||||
// Parent is a diff, flatten it first (note, apart from weird corned cases,
|
// Parent is a diff, flatten it first (note, apart from weird corner cases,
|
||||||
// flatten will realistically only ever merge 1 layer, so there's no need to
|
// flatten will realistically only ever merge 1 layer, so there's no need to
|
||||||
// be smarter about grouping flattens together).
|
// be smarter about grouping flattens together).
|
||||||
parent = parent.flatten().(*diffLayer)
|
parent = parent.flatten().(*diffLayer)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue