[#136] v2/acl: Fix record stable size

This commit is contained in:
Alex Vanin 2020-09-04 14:25:35 +03:00 committed by Stanislav Bogatyrev
parent 148618b5b3
commit 59f804faa2

View file

@ -150,7 +150,7 @@ func (r *Record) StableSize() (size int) {
}
size += proto.EnumSize(recordOperationField, int32(r.op))
size += proto.EnumSize(recordActionField, int32(r.op))
size += proto.EnumSize(recordActionField, int32(r.action))
for i := range r.filters {
size += proto.NestedStructureSize(recordFiltersField, r.filters[i])