From 3116590bd79f8e2ce7a8df0c75cf226594123d18 Mon Sep 17 00:00:00 2001 From: willclarktech Date: Thu, 3 Jun 2021 13:39:32 +0200 Subject: [PATCH] cli: Fix example --- packages/cli/examples/get_akash_vesting_account.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/examples/get_akash_vesting_account.ts b/packages/cli/examples/get_akash_vesting_account.ts index c7c5fc01..d8064467 100644 --- a/packages/cli/examples/get_akash_vesting_account.ts +++ b/packages/cli/examples/get_akash_vesting_account.ts @@ -7,5 +7,5 @@ const tmClient = await Tendermint34Client.connect("http://rpc.akash.forbole.com: const client = QueryClient.withExtensions(tmClient, setupAuthExtension); // Arbitrary entry from https://raw.githubusercontent.com/ovrclk/net/24ddbb427/mainnet/genesis.json -const account = await client.auth.unverified.account("akash1qy0vur3fl2ucztpzcrfea7mc8jwz8xjmvq7qvy"); +const account = await client.auth.account("akash1qy0vur3fl2ucztpzcrfea7mc8jwz8xjmvq7qvy"); console.log(Any.toJSON(account));