Skip to content

Commit

Permalink
memory
Browse files Browse the repository at this point in the history
  • Loading branch information
jianoaix committed Jun 24, 2024
1 parent 0b04de2 commit a78bed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encoding/serialization.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func (c *Frame) Deserialize(data []byte) (*Frame, error) {
}

func (c *Frame) SerializeGnark() ([]byte, error) {
coded := make([]byte, 0)
coded := make([]byte, 0, 32*(1+len(c.Coeffs)))
// This is compressed format with just 32 bytes.
proofBytes := c.Proof.Bytes()
coded = append(coded, proofBytes[:]...)
Expand Down

0 comments on commit a78bed7

Please sign in to comment.