core/state/snapshot: fix difflayer origin-initalization after flatten

This commit is contained in:
Martin Holst Swende 2019-12-01 20:49:00 +01:00 committed by Péter Szilágyi
parent 351a5903b0
commit d5d7c0c24b
No known key found for this signature in database
GPG Key ID: E9AE538CEDF8293D
1 changed files with 1 additions and 0 deletions

View File

@ -396,6 +396,7 @@ func (dl *diffLayer) flatten() snapshot {
// Return the combo parent
return &diffLayer{
parent: parent.parent,
origin: parent.origin,
root: dl.root,
storageList: parent.storageList,
storageData: parent.storageData,