From 19e8bc8e4553329a2870246f88cd02091afeaa1c Mon Sep 17 00:00:00 2001 From: Pino' Surace Date: Wed, 24 May 2023 14:31:34 +0200 Subject: [PATCH] Fix cli update-instantiate-config command --- x/wasm/client/cli/new_tx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/wasm/client/cli/new_tx.go b/x/wasm/client/cli/new_tx.go index 39562248c8..16b9b1bacf 100644 --- a/x/wasm/client/cli/new_tx.go +++ b/x/wasm/client/cli/new_tx.go @@ -142,7 +142,7 @@ func UpdateInstantiateConfigCmd() *cobra.Command { } msg := types.MsgUpdateInstantiateConfig{ - Sender: string(clientCtx.GetFromAddress()), + Sender: clientCtx.GetFromAddress().String(), CodeID: codeID, NewInstantiatePermission: perm, }