From 293c5edfd09934dba54a834b5246f696613c63c3 Mon Sep 17 00:00:00 2001 From: Thomas Nguy <81727899+thomas-nguy@users.noreply.github.com> Date: Fri, 21 May 2021 14:51:48 +0900 Subject: [PATCH] client: fix runAddCmd (#39) --- client/keys.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/keys.go b/client/keys.go index 56cf75e2..4828d494 100644 --- a/client/keys.go +++ b/client/keys.go @@ -101,5 +101,5 @@ func runAddCmd(cmd *cobra.Command, args []string) error { return err } - return keys.RunAddCmd(cmd, args, kr, buf) + return keys.RunAddCmd(clientCtx.WithKeyring(kr), cmd, args, buf) }