Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jhernandezb committed May 6, 2022
1 parent 1edabd9 commit 753b9c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/wasm/client/cli/gov_tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ func parseCodeUpdateArgs(args []string) ([]types.CodeAccessConfigUpdate, error)
// access_config: nobody|everybody|address
parts := strings.Split(c, ",")
if len(parts) != 2 {
return nil, fmt.Errorf("invalid ")
return nil, fmt.Errorf("invalid format")
}

codeID, err := strconv.ParseUint(parts[0], 10, 64)
Expand Down

0 comments on commit 753b9c2

Please sign in to comment.