mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
Update snapshot.go
This commit is contained in:
parent
93f628fc86
commit
9e3eb14570
1 changed files with 1 additions and 0 deletions
|
|
@ -220,6 +220,7 @@ func New(config Config, diskdb ethdb.KeyValueStore, triedb *triedb.Database, roo
|
|||
// Existing snapshot loaded, seed all the layers
|
||||
for head != nil {
|
||||
snap.layers[head.Root()] = head
|
||||
head = head.Parent()
|
||||
}
|
||||
return snap, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue