How to serialize the proof into []byte array and deserialize it back? #311
Answered
by
jingzhaoou
jingzhaoou
asked this question in
Q&A
-
Thanks a lot for developing such a great zk-SNARK library. I am able to run all the tests without any issues. In
I ran into the following errors:
I sincerely appreciate your help! |
Beta Was this translation helpful? Give feedback.
Answered by
jingzhaoou
May 7, 2022
Replies: 1 comment
-
Never mind. I am too green with Golang. I just figured out the bug in my code. Instead of Thanks a lot! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jingzhaoou
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Never mind. I am too green with Golang. I just figured out the bug in my code. Instead of
var proof2 groth16.Proof
, I should useproof2 := groth16.NewProof(curve)
. Things work fine afterward.Thanks a lot!