From 41ff6afec7716c9e81b2c7a7c16e416a1e4ecd37 Mon Sep 17 00:00:00 2001 From: Hannes Kimara Date: Thu, 22 Sep 2022 17:51:56 +0300 Subject: [PATCH] Revert "Use correct URL piece for AssetAddresses" --- api_assets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api_assets.go b/api_assets.go index b6c28b9..1350cdd 100644 --- a/api_assets.go +++ b/api_assets.go @@ -242,7 +242,7 @@ func (c *apiClient) AssetTransactions(ctx context.Context, asset string) (trs [] // AssetAddresses returns list of a addresses containing a specific asset. func (c *apiClient) AssetAddresses(ctx context.Context, asset string) (addrs []AssetAddress, err error) { - requestUrl, err := url.Parse(fmt.Sprintf("%s/%s/%s/%s", c.server, resourceAssets, asset, resourceAssetAddresses)) + requestUrl, err := url.Parse(fmt.Sprintf("%s/%s/%s/%s", c.server, resourceAssets, asset, resourceAssetHistory)) if err != nil { return }