Skip to content

Commit

Permalink
chore: parameter rename
Browse files Browse the repository at this point in the history
  • Loading branch information
x1m3 committed Oct 21, 2024
1 parent 5e9f07e commit d51f162
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packers/zkp.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ func (f DataPreparerHandlerFunc) Prepare(hash []byte, id *w3c.DID, circuitID cir
}

// VerificationHandlerFunc registers the handler function for state verification.
type VerificationHandlerFunc func(id circuits.CircuitID, pubsignals []string, confFuncs ...DefaultZKPUnpackerOption) error
type VerificationHandlerFunc func(id circuits.CircuitID, pubsignals []string, opts ...DefaultZKPUnpackerOption) error

// Verify function is responsible to call provided handler for outputs verification
func (f VerificationHandlerFunc) Verify(id circuits.CircuitID, pubsignals []string, confFuncs ...DefaultZKPUnpackerOption) error {
return f(id, pubsignals, confFuncs...)
func (f VerificationHandlerFunc) Verify(id circuits.CircuitID, pubsignals []string, opts ...DefaultZKPUnpackerOption) error {
return f(id, pubsignals, opts...)
}

// VerificationParams defined the verification function and the verification key for ZKP full verification
Expand Down

0 comments on commit d51f162

Please sign in to comment.