Skip to content

Commit

Permalink
Merge pull request #62 from blockfrost/revert-60-master
Browse files Browse the repository at this point in the history
Revert "Use correct URL piece for AssetAddresses"
  • Loading branch information
HannesKimara authored Sep 22, 2022
2 parents 5cfbc61 + 41ff6af commit d09ce13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api_assets.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit d09ce13

Please sign in to comment.