triedb/pathdb: polish

This commit is contained in:
Gary Rong 2025-05-13 15:10:59 +08:00
parent c6bfbdef7c
commit 950ae5b4d9

View file

@ -44,7 +44,8 @@ type diskLayer struct {
stale bool // Signals that the layer became stale (state progressed)
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
}