We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d74aaa commit 204b40eCopy full SHA for 204b40e
modules/light-clients/08-wasm/client/cli/tx.go
@@ -98,14 +98,14 @@ func newMigrateContractCmd() *cobra.Command {
98
99
clientId := args[0]
100
checksum := args[1]
101
- newCodeMsg := args[2]
+ migrateMsg := args[2]
102
103
// Construct the message
104
msg := &types.MsgMigrateContract{
105
Signer: clientCtx.GetFromAddress().String(),
106
ClientId: clientId,
107
Checksum: []byte(checksum),
108
- Msg: []byte(newCodeMsg),
+ Msg: []byte(migrateMsg),
109
}
110
111
if err := msg.ValidateBasic(); err != nil {
0 commit comments