Skip to content

Commit

Permalink
fix: init AccountInfoResponse for single account
Browse files Browse the repository at this point in the history
  • Loading branch information
mkungla committed Oct 3, 2022
1 parent 7967bac commit 22fc002
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions account.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ func (c *Client) GetAccountInfo(
acc Address,
opts *RequestOptions,
) (res *AccountInfoResponse, err error) {
res = &AccountInfoResponse{}
res2, err := c.GetAccountsInfo(ctx, []Address{acc}, opts)
if err != nil {
return
Expand Down

0 comments on commit 22fc002

Please sign in to comment.