From d4914323e7966a1226bbe0c9103d5e687d74a99c Mon Sep 17 00:00:00 2001 From: Ivo Kubjas Date: Thu, 2 Nov 2023 19:23:41 +0100 Subject: [PATCH] chore: FS docs --- std/fiat-shamir/transcript.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/std/fiat-shamir/transcript.go b/std/fiat-shamir/transcript.go index c9c64d228..f8c69aa1f 100644 --- a/std/fiat-shamir/transcript.go +++ b/std/fiat-shamir/transcript.go @@ -101,10 +101,10 @@ func (t *Transcript) Bind(challengeID string, values []frontend.Variable) error // ComputeChallenge computes the challenge corresponding to the given name. // The resulting variable is: -// * H(name ∥ previous_challenge ∥ binded_values...) if the challenge is not the first one -// * H(name ∥ binded_values... ) if it's is the first challenge +// - H(name ∥ previous_challenge ∥ binded_values...) if the challenge is not the first one +// - H(name ∥ binded_values... ) if it's is the first challenge func (t *Transcript) ComputeChallenge(challengeID string) (frontend.Variable, error) { - + var err error challenge, ok := t.challenges[challengeID] if !ok {