Skip to content

Commit 39d5ba8

Browse files
authored
Refactor Validator Interface Documentation (hyperledger#5161)
* Update validator.go Signed-off-by: kilavvy <[email protected]> * Update validator.go Signed-off-by: kilavvy <[email protected]> --------- Signed-off-by: kilavvy <[email protected]>
1 parent 7c078ad commit 39d5ba8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/handlers/validation/builtin/v13/validator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type StateBasedValidator interface {
2929

3030
// Validate determines whether the transaction on the specified channel at the specified height
3131
// is valid according to its chaincode-level endorsement policy and any key-level validation
32-
// parametres
32+
// parameters
3333
Validate(cc string, blockNum, txNum uint64, rwset, prp, ep []byte, endorsements []*peer.Endorsement) commonerrors.TxValidationError
3434

3535
// PostValidate sets the internal data structures of the validator needed after the validation

core/handlers/validation/builtin/v20/validator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type StateBasedValidator interface {
2929

3030
// Validate determines whether the transaction on the specified channel at the specified height
3131
// is valid according to its chaincode-level endorsement policy and any key-level validation
32-
// parametres
32+
// parameters
3333
Validate(cc string, blockNum, txNum uint64, rwset, prp, ep []byte, endorsements []*peer.Endorsement) commonerrors.TxValidationError
3434

3535
// PostValidate sets the internal data structures of the validator needed after the validation

0 commit comments

Comments
 (0)