mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 22:26:42 +00:00
triedb/pathdb: polish
This commit is contained in:
parent
c6bfbdef7c
commit
950ae5b4d9
1 changed files with 2 additions and 1 deletions
|
|
@ -44,7 +44,8 @@ type diskLayer struct {
|
||||||
stale bool // Signals that the layer became stale (state progressed)
|
stale bool // Signals that the layer became stale (state progressed)
|
||||||
lock sync.RWMutex // Lock used to protect stale flag and genMarker
|
lock sync.RWMutex // Lock used to protect stale flag and genMarker
|
||||||
|
|
||||||
// The generator is set if the state snapshot was not fully completed
|
// The generator is set if the state snapshot was not fully completed,
|
||||||
|
// regardless of whether the background generation is running or not.
|
||||||
generator *generator
|
generator *generator
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue