Commit 40c85488 authored by Nick Mathewson's avatar Nick Mathewson 🦞
Browse files

Revert "Do not generate a `truncated:` for u8[] at end of struct"

This reverts commit 6d24296e.

I was modifying an _encode_ function when I should have modified the
_decode_ function.
parent 6d24296e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2223,7 +2223,6 @@ class EncodeFnGenerator(CodeGenerator):

        self.eltHeader(sva)
        if arrayIsBytes(sva):
            if sva.widthfield is not None:
            self.needTruncated = True
            self.format("""
                   {{