Skip to content

Commit

Permalink
fix: init AddressInfoResponse for single address
Browse files Browse the repository at this point in the history
  • Loading branch information
mkungla committed Oct 3, 2022
1 parent 7a37c62 commit 7967bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion address.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (c *Client) GetAddressInfo(
addr Address,
opts *RequestOptions,
) (res *AddressInfoResponse, err error) {

res = &AddressInfoResponse{}
res2, err := c.GetAddressesInfo(ctx, []Address{addr}, opts)
if err != nil {
return
Expand Down

0 comments on commit 7967bac

Please sign in to comment.