Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 204b40e

Browse files
committedApr 28, 2024·
rename variable
1 parent 2d74aaa commit 204b40e

File tree

1 file changed

+2
-2
lines changed
  • modules/light-clients/08-wasm/client/cli

1 file changed

+2
-2
lines changed
 

‎modules/light-clients/08-wasm/client/cli/tx.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,14 @@ func newMigrateContractCmd() *cobra.Command {
9898

9999
clientId := args[0]
100100
checksum := args[1]
101-
newCodeMsg := args[2]
101+
migrateMsg := args[2]
102102

103103
// Construct the message
104104
msg := &types.MsgMigrateContract{
105105
Signer: clientCtx.GetFromAddress().String(),
106106
ClientId: clientId,
107107
Checksum: []byte(checksum),
108-
Msg: []byte(newCodeMsg),
108+
Msg: []byte(migrateMsg),
109109
}
110110

111111
if err := msg.ValidateBasic(); err != nil {

0 commit comments

Comments
 (0)
Please sign in to comment.