Skip to content

Commit

Permalink
chore: serialize lines for KZG key
Browse files Browse the repository at this point in the history
  • Loading branch information
ivokub committed Nov 22, 2023
1 parent 9fe8d98 commit 465acc8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ func (vk *VerifyingKey) writeTo(w io.Writer, options ...func(*curve.Encoder)) (n
&vk.Kzg.G1,
&vk.Kzg.G2[0],
&vk.Kzg.G2[1],
&vk.Kzg.Lines,
vk.CommitmentConstraintIndexes,
}

Expand Down Expand Up @@ -369,6 +370,7 @@ func (vk *VerifyingKey) ReadFrom(r io.Reader) (int64, error) {
&vk.Kzg.G1,
&vk.Kzg.G2[0],
&vk.Kzg.G2[1],
&vk.Kzg.Lines,
&vk.CommitmentConstraintIndexes,
}

Expand Down

0 comments on commit 465acc8

Please sign in to comment.