client: fix runAddCmd (#39)

This commit is contained in:
Thomas Nguy 2021-05-21 14:51:48 +09:00 committed by GitHub
parent 47bc313235
commit 293c5edfd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}