Skip to content

Commit

Permalink
chore: FS docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ivokub committed Nov 2, 2023
1 parent fd0b2cf commit d491432
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions std/fiat-shamir/transcript.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d491432

Please sign in to comment.