Skip to content
Discussion options

You must be logged in to vote

Can you provide full running example (with witness generation?).

Can you instead of:

	for _, v := range circuit.Hm {
		hm = append(hm, &v)
	}

try

	for i := range circuit.Hm {
		hm = append(hm, &circuit.Hm[i])
	}

and similarly for circuit.Pk part? See https://go.dev/blog/loopvar-preview

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ivokub
Comment options

Answer selected by matchv
@yelhousni
Comment options

@matchv
Comment options

@ivokub
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants