diff --git a/object/transformer/transformer.go b/object/transformer/transformer.go index 56a7f071..a1756628 100644 --- a/object/transformer/transformer.go +++ b/object/transformer/transformer.go @@ -82,10 +82,12 @@ func (s *payloadSizeLimiter) initialize() { if ln := len(s.previous); ln > 0 { // initialize parent object once (after 1st object) if ln == 1 { + ver := version.Current() s.parent = fromObject(s.current) s.parent.ResetRelations() s.parent.SetSignature(nil) s.parent.SetAttributes(s.parAttrs...) + s.parent.SetVersion(&ver) s.parentHashers = append(s.parentHashers[:0], s.currentHashers...) }