diff --git a/clients/README.md b/clients/README.md index 216862fb8b..ae05201edd 100644 --- a/clients/README.md +++ b/clients/README.md @@ -5,7 +5,7 @@ Packages here provide client libraries for accessing the ecosystem of Stellar se * `horizonclient` - programmatic client access to Horizon (use in conjunction with [txnbuild](../txnbuild)) * `stellartoml` - parse Stellar.toml files from the internet * `federation` - resolve federation addresses into stellar account IDs, suitable for use within a transaction -* `horizon` (DEPRECATED) - the original Horizon client, now superceded by `horizonclient` +* `horizon` (DEPRECATED) - the original Horizon client, now superseded by `horizonclient` See [GoDoc](https://godoc.org/github.com/stellar/go/clients) for more details. diff --git a/clients/horizonclient/main.go b/clients/horizonclient/main.go index a7bf923ac9..85ad6e806c 100644 --- a/clients/horizonclient/main.go +++ b/clients/horizonclient/main.go @@ -35,7 +35,7 @@ type limit uint // Order represents `order` param in queries type Order string -// assetCode represets `asset_code` param in queries +// assetCode represents `asset_code` param in queries type assetCode string // assetIssuer represents `asset_issuer` param in queries diff --git a/clients/horizonclient/order_book_request.go b/clients/horizonclient/order_book_request.go index fee5547397..8371ea613f 100644 --- a/clients/horizonclient/order_book_request.go +++ b/clients/horizonclient/order_book_request.go @@ -16,7 +16,7 @@ func (obr OrderBookRequest) BuildURL() (endpoint string, err error) { endpoint = "order_book" // add the parameters to a map here so it is easier for addQueryParams to populate the parameter list - // We can't use assetCode and assetIssuer types here because the paremeter names are different + // We can't use assetCode and assetIssuer types here because the parameter names are different paramMap := make(map[string]string) paramMap["selling_asset_type"] = string(obr.SellingAssetType) paramMap["selling_asset_code"] = obr.SellingAssetCode diff --git a/clients/horizonclient/paths_request.go b/clients/horizonclient/paths_request.go index ab603b59ea..94191a5372 100644 --- a/clients/horizonclient/paths_request.go +++ b/clients/horizonclient/paths_request.go @@ -13,7 +13,7 @@ func (pr PathsRequest) BuildURL() (endpoint string, err error) { endpoint = "paths" // add the parameters to a map here so it is easier for addQueryParams to populate the parameter list - // We can't use assetCode and assetIssuer types here because the paremeter names are different + // We can't use assetCode and assetIssuer types here because the parameter names are different paramMap := make(map[string]string) paramMap["destination_account"] = pr.DestinationAccount paramMap["destination_asset_type"] = string(pr.DestinationAssetType)