Skip to content

Commit

Permalink
Update x/crosschain/types/validate.go
Browse files Browse the repository at this point in the history
Co-authored-by: Charlie Chen <[email protected]>
  • Loading branch information
lumtis and ws4charlie authored May 22, 2024
1 parent 00b87a4 commit 23177dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/crosschain/types/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/zeta-chain/zetacore/pkg/chains"
)

// ValidateCCTXIndex validates the zeta index
// ValidateCCTXIndex validates the CCTX index
func ValidateCCTXIndex(index string) error {
if len(index) != CCTXIndexLength {
return errors.Wrapf(ErrInvalidIndexValue, "invalid index length %d, expected: %d", len(index), CCTXIndexLength)
Expand Down

0 comments on commit 23177dd

Please sign in to comment.