Skip to content

Commit

Permalink
test: fix test to use domain separation
Browse files Browse the repository at this point in the history
  • Loading branch information
ivokub committed Nov 2, 2023
1 parent f905ad7 commit fac76b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/fiat-shamir/transcript_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (circuit *FiatShamirCircuit) Define(api frontend.API) error {
}

// New transcript with 3 challenges to be derived
tsSnark := NewTranscript(api, &hSnark, []string{"alpha", "beta", "gamma"})
tsSnark := NewTranscript(api, &hSnark, []string{"alpha", "beta", "gamma"}, WithDomainSeparation())

// Bind challenges
if err := tsSnark.Bind("alpha", circuit.Bindings[0][:]); err != nil {
Expand Down

0 comments on commit fac76b4

Please sign in to comment.