Skip to content

Commit

Permalink
Fixed error message capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanfrey committed Jan 21, 2022
1 parent 5cd0cbf commit 1e78fbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/wasm/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ func parseInstantiateArgs(rawCodeID, initMsg string, sender sdk.AccAddress, flag

// ensure sensible admin is set (or explicitly immutable)
if adminStr == "" && !noAdmin {
return types.MsgInstantiateContract{}, fmt.Errorf("You must set an admin or explicitly pass --no-admin to make it immutible (wasmd issue #719)")
return types.MsgInstantiateContract{}, fmt.Errorf("you must set an admin or explicitly pass --no-admin to make it immutible (wasmd issue #719)")
}
if adminStr != "" && noAdmin {
return types.MsgInstantiateContract{}, fmt.Errorf("You set an admin and passed --no-admin, those cannot both be true")
return types.MsgInstantiateContract{}, fmt.Errorf("you set an admin and passed --no-admin, those cannot both be true")
}

// build and sign the transaction, then broadcast to Tendermint
Expand Down

0 comments on commit 1e78fbc

Please sign in to comment.