cli: Fix example

This commit is contained in:
willclarktech 2021-06-03 13:39:32 +02:00
parent de7453bc6f
commit 3116590bd7
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7

View File

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