Skip to content

Commit

Permalink
updating validate version error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
damiannolan committed Oct 12, 2021
1 parent 19456b5 commit 7a11401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/apps/27-interchain-accounts/types/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func ValidateVersion(version string) error {
s := strings.Split(version, Delimiter)

if len(s) != 2 {
return sdkerrors.Wrap(ErrInvalidVersion, "unexpected address format")
return sdkerrors.Wrapf(ErrInvalidVersion, "expected format <app-version%saccount-address>, got %s", Delimiter, version)
}

if s[0] != VersionPrefix {
Expand Down

0 comments on commit 7a11401

Please sign in to comment.