diff --git a/netmap/marshal.go b/netmap/marshal.go index 51de050..bf559ce 100644 --- a/netmap/marshal.go +++ b/netmap/marshal.go @@ -167,7 +167,7 @@ func (p *PlacementPolicy) StableMarshal(buf []byte) []byte { offset += protoutil.NestedStructureMarshal(filtersPolicyField, buf[offset:], &p.filters[i]) } - offset += protoutil.BoolMarshal(uniquePolicyField, buf[offset:], p.unique) + protoutil.BoolMarshal(uniquePolicyField, buf[offset:], p.unique) return buf }