Skip to content

Commit

Permalink
Typo fix Update commitment.go (#12961)
Browse files Browse the repository at this point in the history
Fix typo in comment for Keccak256Commitment.Encode method
  • Loading branch information
brawncode authored Nov 19, 2024
1 parent 3d50ab9 commit fbcfb83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op-alt-da/commitment.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (c Keccak256Commitment) CommitmentType() CommitmentType {
return Keccak256CommitmentType
}

// Encode adds a commitment type prefix self describing the commitment.
// Encode adds a commitment type prefix that describes the commitment.
func (c Keccak256Commitment) Encode() []byte {
return append([]byte{byte(Keccak256CommitmentType)}, c...)
}
Expand Down

0 comments on commit fbcfb83

Please sign in to comment.